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 {