From b967c99ea3f1c6a6a6095caa74e4a23c2c637306 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Wed, 27 Mar 2019 10:01:31 +1000 Subject: [PATCH] win_acl - remove test return values (cherry picked from commit 1034b892df1b56d97ad675de6587f3b886f8129d) --- lib/ansible/modules/windows/win_acl.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ansible/modules/windows/win_acl.ps1 b/lib/ansible/modules/windows/win_acl.ps1 index 0bc4b96e18..632655d398 100644 --- a/lib/ansible/modules/windows/win_acl.ps1 +++ b/lib/ansible/modules/windows/win_acl.ps1 @@ -215,8 +215,6 @@ Try { } } Catch { - $result.exception = ($_ | Out-String) - $result.test = ($pwd.Path) Fail-Json -obj $result -message "an error occurred when attempting to $state $rights permission(s) on $path for $user - $($_.Exception.Message)" } Finally {