From 0524904dda7a3313d19a782bbd0782cdac231cd1 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 25 Sep 2015 15:54:39 -0500 Subject: [PATCH] fixes examples in docs to use updated param name --- lib/ansible/modules/extras/windows/win_acl.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ansible/modules/extras/windows/win_acl.py b/lib/ansible/modules/extras/windows/win_acl.py index 7a1b256ef8..df815db0a0 100644 --- a/lib/ansible/modules/extras/windows/win_acl.py +++ b/lib/ansible/modules/extras/windows/win_acl.py @@ -99,19 +99,19 @@ options: - NoPropagateInherit - InheritOnly default: "None" -author: Phil Schwartz, Trond Hindenes +author: Phil Schwartz (@schwartzmx), Trond Hindenes (@trondhindenes) ''' EXAMPLES = ''' # Restrict write,execute access to User Fed-Phil -$ ansible -i hosts -m win_acl -a "user=Fed-Phil src=C:\Important\Executable.exe type=deny rights='ExecuteFile,Write'" all +$ ansible -i hosts -m win_acl -a "user=Fed-Phil path=C:\Important\Executable.exe type=deny rights='ExecuteFile,Write'" all # Playbook example # Add access rule to allow IIS_IUSRS FullControl to MySite --- - name: Add IIS_IUSRS allow rights win_acl: - src: 'C:\inetpub\wwwroot\MySite' + path: 'C:\inetpub\wwwroot\MySite' user: 'IIS_IUSRS' rights: 'FullControl' type: 'allow' @@ -121,7 +121,7 @@ $ ansible -i hosts -m win_acl -a "user=Fed-Phil src=C:\Important\Executable.exe # Remove previously added rule for IIS_IUSRS - name: Remove FullControl AccessRule for IIS_IUSRS - src: 'C:\inetpub\wwwroot\MySite' + path: 'C:\inetpub\wwwroot\MySite' user: 'IIS_IUSRS' rights: 'FullControl' type: 'allow' @@ -131,9 +131,9 @@ $ ansible -i hosts -m win_acl -a "user=Fed-Phil src=C:\Important\Executable.exe # Deny Intern - name: Deny Deny - src: 'C:\Administrator\Documents' + path: 'C:\Administrator\Documents' user: 'Intern' rights: 'Read,Write,Modify,FullControl,Delete' type: 'deny' state: 'present' -''' \ No newline at end of file +'''