Troubleshooting Ansible With Windows Managed Nodes

Problem scenario
When running various Ansible operations, such as "ping," result in an error like this "SSL: 500 WinRM Transport. [Error 104] Connection reset by peer."  What should you do to get Ansible to work with Windows managed nodes?


Install pip. If you need assistance, see this posting.

Upgrade pywinrm to 0.2.2.  The above error can happen because of pywinrm is 0.1.1.  To find out what version of pywinrm you have, run this:  pip show pywinrm
It may help to upgrade pip too (to cut down on informational warnings etc.):  pip install --upgrade pip

Leave a comment

Your email address will not be published. Required fields are marked *