Add examples to user module documentation.
This commit is contained in:
parent
4f6594e670
commit
980b1c4b74
1 changed files with 5 additions and 1 deletions
6
user
6
user
|
@ -102,7 +102,11 @@ options:
|
|||
description:
|
||||
- When used with I(state=absent), behavior is as with
|
||||
I(userdel --remove).
|
||||
|
||||
examples:
|
||||
- code: user name=johnd comment="John Doe" uid=1040
|
||||
description: "Add the user 'johnd' with a specific uid and a primary group of 'admin'"
|
||||
- code: user name=johnd state=absent remove=yes
|
||||
description: "Remove the user 'johnd'"
|
||||
'''
|
||||
|
||||
import os
|
||||
|
|
Loading…
Reference in a new issue