summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2019-03-27 10:01:31 +1000
committerToshio Kuratomi <a.badger@gmail.com>2019-04-01 14:37:42 -0700
commit2166d4bc48426d623425382205bb49536b13eed0 (patch)
tree584c5e9da059cdc8140281e7fc8adbbab12644f2
parent64eb25eb1de15e2ac862a12d313bc8a4d8aa368a (diff)
downloadansible-2166d4bc48426d623425382205bb49536b13eed0.tar.gz
win_acl - remove test return values
(cherry picked from commit 1034b892df1b56d97ad675de6587f3b886f8129d)
-rw-r--r--lib/ansible/modules/windows/win_acl.ps12
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ansible/modules/windows/win_acl.ps1 b/lib/ansible/modules/windows/win_acl.ps1
index e8dac0d71b..2e09610fb6 100644
--- a/lib/ansible/modules/windows/win_acl.ps1
+++ b/lib/ansible/modules/windows/win_acl.ps1
@@ -291,8 +291,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 {