From 3cc14a0a65bd6d06d0a82b39d44c20ea874cd7ac Mon Sep 17 00:00:00 2001 From: Andreas Reischuck Date: Sat, 27 Jun 2015 23:34:16 +0200 Subject: [PATCH] fixed win_file state=touch --- 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 0f3c20ec8e3..f8416120abf 100644 --- a/lib/ansible/modules/windows/win_file.ps1 +++ b/lib/ansible/modules/windows/win_file.ps1 @@ -56,7 +56,7 @@ If ( $state -eq "touch" ) } Else { - echo $null > $file + echo $null > $path } $result.changed = $TRUE }