Hi Team,
               we`re using Ansible v 2.7, below python modules for 
kerberos. We have switched from basic to kerberos auth all playbooks are 
failing with below error

*Python (Kerberos) modules:*
        kerberos                         1.3.0
        requests-kerberos                0.12.0

*Ansible host file:*
         ansible_user= Ansibleservice@NORTHIND.INTERNAL
         ansible_password= '2*S<5q$Vn#]M'
         ansible_connection= winrm
         ansible_winrm_transport= kerberos
        #ansible_winrm_realm= NORTHIND.INTERNAL
        ansible_winrm_scheme= http
        ansible_winrm_server_cert_validation= ignore
        ansible_port= 5985
        ansible_winrm_kerberos_delegation= yes

kinit command succeeds and able to do klist as well. But when we execute 
win_ping module to the Windows(2012) node which is part of domain 
(NORTHIND.INTERNAL), failing with below error. Can anyone assists to fix 
this below error?

*Command:* *ansible -i /home/ansible/hosts win -m win_ping 
-e="ansible_ssh_port=5985, ansible_connection=winrm"*


*Error:*

*gcp-bashost.NORTHIND.INTERNAL | UNREACHABLE! => {*
*    "changed": false,*
*    "msg": "kerberos: authGSSClientStep() failed: (('Unspecified GSS 
failure.  Minor code may provide more information', 851968), ('Server not 
found in Kerberos database', -1765328377))",*
*    "unreachable": true*
*}*



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/603efca7-57c9-41cb-84c0-dc3a97ddd0f7%40googlegroups.com.

Reply via email to