From 2c216cdf357fd2ad6eac859dfca5f7eabd529c5e Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Fri, 28 Oct 2016 09:39:56 -0700 Subject: [PATCH] fix JSON junk in win_file state=directory case (#5427) --- lib/ansible/modules/windows/win_file.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/windows/win_file.ps1 b/lib/ansible/modules/windows/win_file.ps1 index 958f9f04fc..e064c5c6db 100644 --- a/lib/ansible/modules/windows/win_file.ps1 +++ b/lib/ansible/modules/windows/win_file.ps1 @@ -102,7 +102,7 @@ Else If ( $state -eq "directory" ) { - New-Item -ItemType directory -Path $path + New-Item -ItemType directory -Path $path | Out-Null $result.changed = $TRUE }