How can I let ansible run on windows node(windows server 2012 machine) ??
I ran the belwo commands on power shell before running the ansible script :


*netsh advfirewall firewall add rule name="Allow WinRM (Http)" dir=in 
localport=5985 protocol=tcp action=allow enable=yes*
*netsh advfirewall firewall add rule name="Allow WinRM (Https)" dir=in 
localport=5986 protocol=tcp action=allow enable=yes*



I am recieving the below error 


fatal: [uat_cdxdb]: UNREACHABLE! => {

    "changed": false, 

    "msg": "ssl: HTTPSConnectionPool(host='10.1.116.151', port=5986): Max 
retries exceeded with url: /wsman (Caused by 
NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 
0x108cfd450>: Failed to establish a new connection: [Errno 61] Connection 
refused',))", 

    "unreachable": true

}






-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/34216652-b054-4778-ac54-b52a80af1ff3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to