diff --git a/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 b/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 index 33ac7f3fbbd..5012cb041da 100644 --- a/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 +++ b/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 @@ -98,6 +98,7 @@ function getFirewallRule ($fwsettings) { $msg += @("No rule could be found"); }; $result = @{ + failed = $false exists = $exists identical = $correct multiple = $multi @@ -137,6 +138,7 @@ function createFireWallRule ($fwsettings) { $msg+=@("Created firewall rule $name"); $result=@{ + failed = $false output=$output changed=$true msg=$msg