User is alias for name in 'user' module
This commit is contained in:
parent
115dcbe34b
commit
9484f55581
1 changed files with 2 additions and 1 deletions
3
user
3
user
|
@ -30,6 +30,7 @@ description:
|
||||||
options:
|
options:
|
||||||
name:
|
name:
|
||||||
required: true
|
required: true
|
||||||
|
aliases: [ "user" ]
|
||||||
description:
|
description:
|
||||||
- Name of the user to create, remove or modify.
|
- Name of the user to create, remove or modify.
|
||||||
comment:
|
comment:
|
||||||
|
@ -430,7 +431,7 @@ def main():
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec = dict(
|
argument_spec = dict(
|
||||||
state=dict(default='present', choices=['present', 'absent']),
|
state=dict(default='present', choices=['present', 'absent']),
|
||||||
name=dict(required=True),
|
name=dict(required=True, aliases=['user']),
|
||||||
uid=dict(default=None),
|
uid=dict(default=None),
|
||||||
group=dict(default=None),
|
group=dict(default=None),
|
||||||
groups=dict(default=None),
|
groups=dict(default=None),
|
||||||
|
|
Loading…
Reference in a new issue