You need to share the error you are getting back, right now we cannot tell what is going wrong.
On Tuesday, July 28, 2020 at 8:32:50 AM UTC+10 [email protected] wrote: > 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/2f581625-5170-4c4f-a07c-2064da7b76d1n%40googlegroups.com.
