mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Merge branch 'documentation' of git://github.com/lantins/ansible into devel
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user