summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Reischuck <andreas.reischuck@hicknhack-software.com>2015-06-27 23:34:16 +0200
committerAndreas Reischuck <andreas.reischuck@hicknhack-software.com>2015-06-27 23:34:16 +0200
commit562d90d1155b82d85ae6311ede68ef4d8f26c383 (patch)
tree35ee753a7b01fbff53b1d8e53f7b0b7ca1fb5c22
parentea913bada2e4307c254c3277cd4b15304cacb9bb (diff)
downloadansible-modules-core-562d90d1155b82d85ae6311ede68ef4d8f26c383.tar.gz
fixed win_file state=touch
-rw-r--r--windows/win_file.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/win_file.ps1 b/windows/win_file.ps1
index 0f3c20ec..f8416120 100644
--- a/windows/win_file.ps1
+++ b/windows/win_file.ps1
@@ -56,7 +56,7 @@ If ( $state -eq "touch" )
}
Else
{
- echo $null > $file
+ echo $null > $path
}
$result.changed = $TRUE
}