summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Alessandro Locati <me@fale.io>2016-12-16 00:00:03 +0100
committerMatt Davis <nitzmahone@users.noreply.github.com>2016-12-15 15:00:03 -0800
commit12205598c33b2e5e899aebb89df270420b42ddfb (patch)
tree2017144f4f8317368299fe78e4c7a719bec4f001
parent5a87f2665822d5f9b22f1e854360d12df6d45235 (diff)
downloadansible-12205598c33b2e5e899aebb89df270420b42ddfb.tar.gz
Improve YAML examples - windows/win_acl_inheritance.py (#19405)
-rw-r--r--lib/ansible/modules/windows/win_acl_inheritance.py16
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/ansible/modules/windows/win_acl_inheritance.py b/lib/ansible/modules/windows/win_acl_inheritance.py
index 549ce62933..1f791af34d 100644
--- a/lib/ansible/modules/windows/win_acl_inheritance.py
+++ b/lib/ansible/modules/windows/win_acl_inheritance.py
@@ -57,27 +57,25 @@ options:
author: Hans-Joachim Kliemeck (@h0nIg)
'''
-EXAMPLES = '''
-# Playbook example
----
+EXAMPLES = r'''
- name: Disable inherited ACE's
win_acl_inheritance:
- path: 'C:\\apache\\'
+ path: C:\apache
state: absent
- name: Disable and copy inherited ACE's
win_acl_inheritance:
- path: 'C:\\apache\\'
+ path: C:\apache
state: absent
- reorganize: yes
+ reorganize: True
- name: Enable and remove dedicated ACE's
win_acl_inheritance:
- path: 'C:\\apache\\'
+ path: C:\apache
state: present
- reorganize: yes
+ reorganize: True
'''
RETURN = '''
-''' \ No newline at end of file
+'''