I get exactly the same…
☿ |staging:e38026ddcaae ✗| → ansible -i ./provisioning/hosts windows -m win_ping
54.67.74.52 | FAILED => Traceback (most recent call last):
File “/usr/local/lib/python2.7/site-packages/ansible-1.7.2-py2.7.egg/ansible/runner/init.py”, line 561, in _executor
exec_rc = self._executor_internal(host, new_stdin)
File “/usr/local/lib/python2.7/site-packages/ansible-1.7.2-py2.7.egg/ansible/runner/init.py”, line 666, in _executor_internal
return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)
File “/usr/local/lib/python2.7/site-packages/ansible-1.7.2-py2.7.egg/ansible/runner/init.py”, line 837, in _executor_internal_inner
conn = self.connector.connect(actual_host, actual_port, actual_user, actual_pass, actual_transport, actual_private_key_file)
File “/usr/local/lib/python2.7/site-packages/ansible-1.7.2-py2.7.egg/ansible/runner/connection.py”, line 34, in connect
self.active = conn.connect()
File “/usr/local/lib/python2.7/site-packages/ansible-1.7.2-py2.7.egg/ansible/runner/connection_plugins/winrm.py”, line 132, in connect
self.protocol = self._winrm_connect()
File “/usr/local/lib/python2.7/site-packages/ansible-1.7.2-py2.7.egg/ansible/runner/connection_plugins/winrm.py”, line 90, in _winrm_connect
err_msg = str(exc.args[0])
IndexError: tuple index out of range
I installed ansible on my Macbook Pro via homebrew. What’s the best/quickest/easiest way to get the fix for this?
Thanks.
P.