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

Add examples to user module documentation.

This commit is contained in:
Luke Antins 2012-10-18 02:55:58 +01:00
parent 4f17aa9fa0
commit 0dbd3aa821

View file

@ -102,7 +102,11 @@ options:
description: description:
- When used with I(state=absent), behavior is as with - When used with I(state=absent), behavior is as with
I(userdel --remove). 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 import os