Connect to windows machine with Kerberos

I am using kerberos to connect to windows hosts to run playbook, for this I have to kinit username and password everyday if not I need to specify the password on the inventory file which is not great idea. So some one please suggest me how can I save the password details.
Thanks in advance…

Hello Narmada,

I assume you have DC in your enviroment. you have to follow steps as mentioned in below link to establise permanent kerberos authentication.
please check.

http://yoursmartbook.blogspot.com/2021/06/to-enable-kerberos-authentication-for.html

Ravi.

I have done all these I am able to run playbooks on windows machines using kerberos. I did kinit username@DOMAIN.COM, but I need to do this everyday. so followed the docs and implemented ansible-vault which is also working. Using ansible-vault I have to save the password for the enctyption/decryption some where on the server. So my question now is is there anyway ansible decrypts the password while executing the playbook.

What is your question exactly?

sure I will get back to this again, but I see this error all of a sudden
kerberos: the python kerberos library is not installed
I have all necessary components installed

pip list |grep -i kerb
pykerberos 1.2.4
requests-kerberos 0.14.0

also I followed one of your previous docs, I see
[teamci-deploy-user@server01 win]$ echo $ANSIBLE_PYTHON
/usr/bin/python2
how can I change this to python 3