Commit bde44f9d by Luke Antins

Add examples to user module documentation.

parent 9d943110
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment