Merge branch 'documentation' of git://github.com/lantins/ansible into devel
This commit is contained in:
commit
8fca862e17
|
@ -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:
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue