You have to setup a kerberos ticket for the user you want to connect with. After which, if you specify the ansible_ssh_user in the format of u...@my.domain.com, Ansible will attempt to use a kerberos ticket before falling back to basic authentication.
See the support site for more details: http://docs.ansible.com/ansible/intro_windows.html#configuring-kerberos On Thursday, April 7, 2016 at 5:27:23 AM UTC-7, Mark Matthews wrote: > > Hi > > > > Currently I have been connecting to servers to using local server > accounts, and therefore my ‘group_vars/winservers.yml’ file has looked like > the following: > > > > ansible_ssh_user: Administrator > > ansible_ssh_pass: PASSWORD > > ansible_ssh_port: 5986 > > ansible_connection: winrm > > > > But now I need to authenticate to servers that are connected on the > domain. How would I change this file? Is it as simple as… > > > > ansible_ssh_user: my.domain\mark.matthews > > ansible_ssh_pass: PASSWORD > > ansible_ssh_port: 5986 > > ansible_connection: winrm > > > > > > Cheers > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/eb841150-3705-4670-980b-baf882a0e17e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.