Are there plans on supporting the kerbros authentication so this works in domain environments?
On Friday, October 17, 2014 11:02:06 AM UTC-4, Bryan Cochrane wrote: > > I am trying to setup windows remoting for ansible. > > I have Ansible version 1.7.2, ee-bryan is Windows 8.1, ee-csg is Windows > Server 2012. Both have Powershell 4. > > under /etc/ansible I have created hosts as > [windows] > ee-bryan > ee-csg > > and I have created /etc/ansible/group_vars/windows.yml with > > #It is suggested that these be encrypted with ansible-vault: > # ansible-vault edit group_vars/windows.yml > # > ansible_ssh_user: Administrator > ansible_ssh_pass: password > ansible_ssh_port: 5986 > ansible_connection: winrm > > but on testing I get > > # ansible windows -m win_ping > ee-csg.ee.ic.ac.uk | FAILED => Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line > 561, in _executor > exec_rc = self._executor_internal(host, new_stdin) > File "/usr/lib/python2.7/site-packages/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/lib/python2.7/site-packages/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/lib/python2.7/site-packages/ansible/runner/connection.py", > line 34, in connect > self.active = conn.connect() > File > "/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/winrm.py", > > line 132, in connect > self.protocol = self._winrm_connect() > File > "/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/winrm.py", > > line 90, in _winrm_connect > err_msg = str(exc.args[0]) > IndexError: tuple index out of range > > ee-bryan.ee.ic.ac.uk | FAILED => Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line > 561, in _executor > exec_rc = self._executor_internal(host, new_stdin) > File "/usr/lib/python2.7/site-packages/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/lib/python2.7/site-packages/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/lib/python2.7/site-packages/ansible/runner/connection.py", > line 34, in connect > self.active = conn.connect() > File > "/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/winrm.py", > > line 132, in connect > self.protocol = self._winrm_connect() > File > "/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/winrm.py", > > line 90, in _winrm_connect > err_msg = str(exc.args[0]) > IndexError: tuple index out of range > > -- 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/91dbfa13-8110-475b-853b-d44b2b2058f6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
