Hi all,
I’m trying to write a play I’m going to use as part of a windows system reboot “role”. I plan to ping the Windows node’s WinRM port using curl until it’s responding.
If the system is down, the curl command will result in an error (exit code 7).
Here’s my play: