From 1034b892df1b56d97ad675de6587f3b886f8129d 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 --- 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 38c1fbe7f1..d1d8e80af2 100644 --- a/lib/ansible/modules/windows/win_acl.ps1 +++ b/lib/ansible/modules/windows/win_acl.ps1 @@ -214,8 +214,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 {