Commit aaa413db by Michael DeHaan

Merge branch 'documentation' of git://github.com/lantins/ansible into devel

parents feb497a9 bde44f9d
...@@ -42,7 +42,7 @@ options: ...@@ -42,7 +42,7 @@ options:
examples: examples:
- code: | - code: |
action: fail msg="The system may not be provisioned according to the CMDB status." rc=100 action: fail msg="The system may not be provisioned according to the CMDB status." rc=100
only_if: "'$cmdb_status' != 'to-be-staged'" only_if: "'$cmdb_status' != 'to-be-staged'"
description: "Example playbook using fail and only_if together" description: "Example playbook using fail and only_if together"
......
...@@ -102,7 +102,11 @@ options: ...@@ -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
......
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