Managing windows using an domain admin user

Hi,
I was able to setup ansible to manage a Windows host, following the docs and using the local admin user “Administrator”.
All Windows are managed by AD and I would like to use a Service account that exists in all my Windows VM.

Which is the correct settings to put into the groups_var\windows.yml file?

I’ve tried several combinations, with no luck.
Here my file and the error I got

Hello,

You need to use

username@FULL.DOMAIN.NAME

Also make sure you have installed kerberos and configured your ansible controller as a kerberos client.

Depending on how you set things up, you may need to acquire a kerberos ticket by running

kinit username@FULL.DOMAIN.NAME

before running your playbook.

You can test if you have got a kerberos ticket by running

klist

Hope this helps,

Jon