From 314843b431d139032536f1a063878b9f321d660c Mon Sep 17 00:00:00 2001 From: Dreamcat4 Date: Wed, 20 Apr 2016 21:44:29 +0100 Subject: [PATCH] win-firewall-rule: temp disable strict-mode for the time being --- lib/ansible/modules/extras/windows/win_firewall_rule.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 b/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 index 21f96bcf33..92d7592154 100644 --- a/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 +++ b/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 @@ -20,6 +20,9 @@ # WANT_JSON # POWERSHELL_COMMON +# temporarily disable strictmode, for this module only +Set-StrictMode -Off + function getFirewallRule ($fwsettings) { try {