Hi Mayur, You usually get that message when kerberos is not configured properly on your ansible controller.
Please ensure you have followed the setup instructions here: http://docs.ansible.com/ansible/intro_windows.html#configuring-kerberos Without this, the ansible controller does cannot connect to your windows domain, because it is unaware of the network location of your windows domain controllers. Hope this helps, Jon On Friday, January 15, 2016 at 6:54:39 PM UTC, Mayur Barge wrote: > > Hi I'm facing below issue while connecting to windows machine using AD > accounts > > > File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line > 586, in _executor > exec_rc = self._executor_internal(host, new_stdin) > File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line > 789, 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 > 968, in _executor_internal_inner > conn = self.connector.connect(actual_host, actual_port, actual_user, > actual_pass, actual_transport, actual_private_key_file, delegate_host) > File "/usr/lib/python2.7/site-packages/ansible/runner/connection.py", > line 52, in connect > self.active = conn.connect() > File > "/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/winrm.py", > > line 140, in connect > self.protocol = self._winrm_connect() > File > "/usr/lib/python2.7/site-packages/ansible/runner/connection_plugins/winrm.py", > > line 96, in _winrm_connect > protocol.send_message('') > File "/usr/lib/python2.7/site-packages/winrm/protocol.py", line 193, in > send_message > return self.transport.send_message(message) > File "/usr/lib/python2.7/site-packages/winrm/transport.py", line 269, in > send_message > krb_ticket = KerberosTicket(self.krb_service) > File "/usr/lib/python2.7/site-packages/winrm/transport.py", line 205, in > __init__ > kerberos.authGSSClientStep(krb_context, '') > GSSError: (('Unspecified GSS failure. Minor code may provide more > information', 851968), ('Server not found in Kerberos database', > -1765328377)) > > > Please help > > Thanks, > Mayur > > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/102e25aa-e4c7-4314-9856-47197f9906fe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.