1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

User is alias for name in 'user' module

This commit is contained in:
Jan-Piet Mens 2012-10-25 14:03:13 +02:00
parent f2a7ca9a36
commit 89f28a98dd

View file

@ -30,6 +30,7 @@ description:
options:
name:
required: true
aliases: [ "user" ]
description:
- Name of the user to create, remove or modify.
comment:
@ -430,7 +431,7 @@ def main():
module = AnsibleModule(
argument_spec = dict(
state=dict(default='present', choices=['present', 'absent']),
name=dict(required=True),
name=dict(required=True, aliases=['user']),
uid=dict(default=None),
group=dict(default=None),
groups=dict(default=None),