Skip to content

Commit

Permalink
bugfix code error in win_firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
trondhindenes authored and mattclay committed Dec 8, 2016
1 parent 1eb7aa5 commit 6972df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/modules/extras/windows/win_firewall_rule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};
Expand Down

0 comments on commit 6972df7

Please sign in to comment.