1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

bugfix code error in win_firewall

This commit is contained in:
Trond Hindenes 2016-06-23 08:45:29 +02:00 committed by Matt Clay
parent 1eb7aa5d78
commit 6972df76ef

View file

@ -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)
};