Can someone please help me..
On Thursday, May 23, 2019 at 12:55:09 PM UTC-7, Nk Chitturi wrote:
>
> [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
> [email protected] 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
> ***********************************************************************************************************************************************************************************************************************
> server.domain.COM : ok=0 changed=0 unreachable=1 failed=0
>
> [user@servername ansible]$ klist [email protected]
> klist: No credentials cache found (filename: [email protected])
> user@servername ansible ansible]$ kinit [email protected]
> Password for [email protected]
> [user@servername ansible ansible]$ klist
> Ticket cache: KEYRING:persistent:600437:600437
> Default principal: [email protected]
>
> Valid starting Expires Service principal
> 05/23/2019 12:44:42 05/23/2019 22:44:42 krbtgt/[email protected]
> renew until 05/30/2019 12:44:37
>
> here is my group_vars/windows.yml file
>
> ansible_user: [email protected]
> 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
> Servwername.domain.COM ansible_ssh_user="[email protected]"
> ansible_connection="winrm"
>
> 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
> [email protected] 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'
>
>
--
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/539f9af1-1982-47f2-9d16-c151479d4095%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.