mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Normalize yaml example (#3426)
This commit is contained in:
parent
df6200accc
commit
0a338a11c2
1 changed files with 8 additions and 2 deletions
|
@ -55,10 +55,16 @@ author: "Nate Coraor (@natefoo)"
|
|||
|
||||
EXAMPLES = '''
|
||||
# Set cap_sys_chroot+ep on /foo
|
||||
- capabilities: path=/foo capability=cap_sys_chroot+ep state=present
|
||||
- capabilities:
|
||||
path: /foo
|
||||
capability: cap_sys_chroot+ep
|
||||
state: present
|
||||
|
||||
# Remove cap_net_bind_service from /bar
|
||||
- capabilities: path=/bar capability=cap_net_bind_service state=absent
|
||||
- capabilities:
|
||||
path: /bar
|
||||
capability: cap_net_bind_service
|
||||
state: absent
|
||||
'''
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue