techbeatly.com
How to open WinRM ports in the Windows firewall - techbeatly
We need to make sure, ports 5985 and 5986 (HTTPS) are open in firewall (both OS as well as network side) for Ansible to connect to Windows machine.
Gineesh Madapparambath