Hello,
Kerberos authentication is failing on some servers even after providing
credentials in host file.
*Host File*
[windows_server]
test.domain.com
[windows:vars]
ansible_user=*****
ansible_password=******
ansible_connection = winrm
ansible_ssh_port = 5986
ansible_winrm_transport = kerberos
ansible_winrm_server_cert_validation = ignore
validate_certs = false
*Playbook:*
hosts: windows_server
vars:
ansible_connection: winrm
ansible_ssh_port: 5986
ansible_winrm_transport: kerberos
ansible_winrm_server_cert_validation: ignore
validate_certs: false
ansible_winrm_scheme: https
ansible_winrm_read_timeout_sec: 30
ignore_unreachable: true
gather_facts: false
Note - If I provide kinit [email protected] (credentials) the playbook works
for some servers and windows machines but not for others. Weird!
Thanks,
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f194052e-b725-4b10-8774-9caf328e6618o%40googlegroups.com.