Hello Friends,
I was getting following Error while deploying my Ansible script, Basically my credential were getting rejected by server.
SSH password:
PLAY [Playbook_Name] ***************************************************************02:00:30
TASK [Gathering Facts] *********************************************************02:00:30
fatal: [Server_Inventory_Name]: UNREACHABLE! => {"changed": false, "msg": "kerberos: the specified credentials were rejected by the server", "unreachable": true}
PLAY RECAP *********************************************************************02:00:30
Server_Inventory_Name : ok=0 changed=0 unreachable=1 failed=0
It was resolved using one additional parameter in Inventory i.e "ansible_winrm_server_cert_vaildation:ignore"
I was getting following Error while deploying my Ansible script, Basically my credential were getting rejected by server.
SSH password:
PLAY [Playbook_Name] ***************************************************************02:00:30
TASK [Gathering Facts] *********************************************************02:00:30
fatal: [Server_Inventory_Name]: UNREACHABLE! => {"changed": false, "msg": "kerberos: the specified credentials were rejected by the server", "unreachable": true}
PLAY RECAP *********************************************************************02:00:30
Server_Inventory_Name : ok=0 changed=0 unreachable=1 failed=0
It was resolved using one additional parameter in Inventory i.e "ansible_winrm_server_cert_vaildation:ignore"
It should be "ansible_winrm_server_cert_validation: ignore" (validation is spelled wrong in the above post)
ReplyDelete