[user@server ansible]$ ansible-playbook windows_ping.yaml -i hosts.txt
PLAY [ping test] *****************************************************************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************************************************************
fatal: [
server.domain.com]: UNREACHABLE! => {"changed": false, "msg": "kerberos: authGSSClientInit() failed: (('Unspecified GSS failure. Minor code may provide more information', 851968), (\"Can't find client principal nchi...@domain.COM in cache collection\", -1765328243)), ssl: auth method ssl requires a password", "unreachable": true}
[WARNING]: Could not create retry file '/ansible/windows_ping.retry'. [Errno 13] Permission denied: u'/ansible/windows_ping.retry'
PLAY RECAP ***********************************************************************************************************************************************************************************************************************
Password for nchi...@domain.COM
[user@servername ansible ansible]$ klist
Ticket cache: KEYRING:persistent:600437:600437
Valid starting Expires Service principal
renew until 05/30/2019 12:44:37
here is my group_vars/windows.yml file
ansible_password: password
ansible_port: 5986
ansible_connection: winrm
ansible_winrm_transport: kerberos
ansible_winrm_server_cert_validation: ignore
ansible_winrm_kerberos_delegation: true
hosts.txt
but I am getting below error, please suggest me some solution
PLAY [ping test] *****************************************************************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************************************************************
fatal: [
server.domain.com]: UNREACHABLE! => {"changed": false, "msg": "kerberos: authGSSClientInit() failed: (('Unspecified GSS failure. Minor code may provide more information', 851968), (\"Can't find client principal nchi...@domain.COM in cache collection\", -1765328243)), ssl: auth method ssl requires a password", "unreachable": true}
[WARNING]: Could not create retry file '/ansible/windows_ping.retry'. [Errno 13] Permission denied: u'/ansible/windows_ping.retry'