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

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

This commit is contained in:
Michael DeHaan 2012-10-17 22:36:48 -04:00
commit 8fca862e17
2 changed files with 6 additions and 2 deletions

View file

@ -42,7 +42,7 @@ options:
examples:
- code: |
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"

View file

@ -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