From beb6ed08cdf471b8bbf1ca7e9d05464b1e472266 Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Fri, 16 Dec 2016 00:00:28 +0100 Subject: [PATCH] Improve YAML examples - windows/win_owner.py (#19406) --- lib/ansible/modules/windows/win_owner.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/ansible/modules/windows/win_owner.py b/lib/ansible/modules/windows/win_owner.py index b3ad35b40a6..ad8eb6f39db 100644 --- a/lib/ansible/modules/windows/win_owner.py +++ b/lib/ansible/modules/windows/win_owner.py @@ -52,22 +52,20 @@ options: author: Hans-Joachim Kliemeck (@h0nIg) ''' -EXAMPLES = ''' -# Playbook example ---- +EXAMPLES = r''' - name: Change owner of Path win_owner: - path: 'C:\\apache\\' + path: C:\apache user: apache - recurse: yes + recurse: True - name: Set the owner of root directory win_owner: - path: 'C:\\apache\\' + path: C:\apache user: SYSTEM - recurse: no + recurse: False ''' RETURN = ''' -''' \ No newline at end of file +'''