Improve YAML examples - windows/win_acl_inheritance.py (#19405)
This commit is contained in:
parent
5a87f26658
commit
12205598c3
1 changed files with 7 additions and 9 deletions
|
@ -57,27 +57,25 @@ options:
|
||||||
author: Hans-Joachim Kliemeck (@h0nIg)
|
author: Hans-Joachim Kliemeck (@h0nIg)
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = r'''
|
||||||
# Playbook example
|
|
||||||
---
|
|
||||||
- name: Disable inherited ACE's
|
- name: Disable inherited ACE's
|
||||||
win_acl_inheritance:
|
win_acl_inheritance:
|
||||||
path: 'C:\\apache\\'
|
path: C:\apache
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Disable and copy inherited ACE's
|
- name: Disable and copy inherited ACE's
|
||||||
win_acl_inheritance:
|
win_acl_inheritance:
|
||||||
path: 'C:\\apache\\'
|
path: C:\apache
|
||||||
state: absent
|
state: absent
|
||||||
reorganize: yes
|
reorganize: True
|
||||||
|
|
||||||
- name: Enable and remove dedicated ACE's
|
- name: Enable and remove dedicated ACE's
|
||||||
win_acl_inheritance:
|
win_acl_inheritance:
|
||||||
path: 'C:\\apache\\'
|
path: C:\apache
|
||||||
state: present
|
state: present
|
||||||
reorganize: yes
|
reorganize: True
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue