summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorMatt Davis <mdavis@ansible.com>2016-10-03 07:27:47 -0700
committerMatt Davis <mdavis@ansible.com>2016-10-03 07:27:47 -0700
commit6c4d71a7fab60601846363506bc8eebe9c52c240 (patch)
tree2c9d10be5b87c620fcd415d37812809038fba17d /windows
parente4c5a13a7ad6355f779a88456780bdcd86baee31 (diff)
downloadansible-modules-core-6c4d71a7fab60601846363506bc8eebe9c52c240.tar.gz
fixed windows setup to run in check_mode
Diffstat (limited to 'windows')
-rw-r--r--windows/setup.ps14
1 files changed, 1 insertions, 3 deletions
diff --git a/windows/setup.ps1 b/windows/setup.ps1
index fcbe9ca1..fef2ade2 100644
--- a/windows/setup.ps1
+++ b/windows/setup.ps1
@@ -17,9 +17,7 @@
# WANT_JSON
# POWERSHELL_COMMON
-# enabled $params (David O'Brien, 06/08/2015)
-$params = Parse-Args $args;
-
+$params = Parse-Args $args -supports_check_mode $true
Function Get-CustomFacts {
[cmdletBinding()]