Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
win_firewall_rule fails if rule already exists #2882
OS / ENVIRONMENT
Managing five Windows Server 2012R2 servers and 1 Ubuntu 16.04.1 LTS server
I'm testing a role to install Check_MK Raw on a server and add some windows clients to the monitoring.
STEPS TO REPRODUCE
Run the following tasks twice
The port is opened and pings are responded to.
On the first run the port opens and the ping rule fails to enable. On a second run the first rule fails because the name already exists but the values for the rule are somehow different.
Found a way to fix it again when the rule already existed, now I am still trying to figure out how to do the same with the default ones.