diff --git a/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 b/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 index ae60bcc4aa..31aa2741cd 100644 --- a/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 +++ b/lib/ansible/modules/extras/windows/win_firewall_rule.ps1 @@ -230,7 +230,7 @@ $fwsettings.Add("Rule Name", $name) #$fwsettings.Add("displayname", $name) $state = $state.ToString().ToLower() -If ($state -eq "present")){ +If ($state -eq "present"){ $fwsettings.Add("Direction", $direction) $fwsettings.Add("Action", $action) };