Server not found in Kerberos database

“msg”: “kerberos: authGSSClientStep() failed: ((‘Unspecified GSS failure. Minor code may provide more information’, 851968), (‘Server not found in Kerberos database’, -1765328377))”

You might need to use ansible_connecion: http or ntlm

That message means the hostname that you are asking for isn’t one that Active Directory knows about.
Check you have a valid hostname (and not just an IP address) in your ansible inventory.
Hope this helps,

Jon