Ansible winrm problem

Hi guys,

I’m spinning up EC2 instances on AWS and I’m getting the following error:

`

Guessing here, since this is not something I’ve tried

This poster seemed to get the same error as you: In his case there was a proxy involved. Would there be a proxy in your scenario too? I think there are winrm proxy settings now although this isn’t something I’ve tried.

http://search-devops.com/m/PLILD1J1SKcY32cn&subj=+ansible+project+Ansible+connect+to+Windows+instance+through+proxy

HTH

Jon

Yeah, I saw that one and I’m already setting all the no_proxy environment variables on my Ansible machine.
The odd thing is, I can telnet just fine, just can’t connect.

I tried the pywinrm module directly and get the same error. Printing out the python os.environ.keys I can see all my proxy settings.

Running out of ideas here.

Have you try to run the EnableAnsible.ps1 before? I encountered this error usually because the preparation for WinRM wasn’t run successfully

Quang