Hi Zacharias I have setup a kerberos ticket and all seems to be working fine. I am able to do a "knit *username*" and create a ticket.
I then add the following entry into /etc/ansible/hosts file [win] servername.COMPANY.COM I have create the following /etc/ansible/group_vars/win.yml file with the following information ansible_ssh_user: usern...@company.com ansible_ssh_port: 5986 ansible_connection: winrm Bu when I try run a playbook to the server in 'win' I get the following error: fatal: [uk-ansible-test02.WINTECH.LOCAL]: FAILED! => {"failed": true, "msg": "ssl: 401 Unauthorized. basic auth failed"} Any ideas as too what could be causing this? Cheers Mark On Thursday, April 7, 2016 at 1:27:23 PM UTC+1, 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/0b133188-5ba5-4930-acfe-4b223faefb1c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.