[ansible-project] Re: Weird Kerberos Issues with WinRM and a new host spun up from vmware_guest

2020-03-10 Thread Dave York
Yep - I am joining the domain as part of the customization in vmware_guest. I do that locally from the tower box. After vmware_guest I have a wait_for port 5985 with a 360 timeout. I guess I was trying to avoid the 600 second sleep but I guess if it works, it works. Thanks for the

[ansible-project] Re: Weird Kerberos Issues with WinRM and a new host spun up from vmware_guest

2020-03-10 Thread Dave York
Thanks David - I've been trying to use Kerberos, and it should be enabled. I'm only connecting as a domain admin so Kerberos should work (or so I gather): Auth Basic = false Kerberos = true Negotiate = true Certificate = false

[ansible-project] Re: Weird Kerberos Issues with WinRM and a new host spun up from vmware_guest

2020-03-10 Thread 'J Hawkesworth' via Ansible Project
Just to be clear, are you joining the host to the domain as part of the vmware_guest call? I have playbooks that do something similar to what you describe but with some differences. I like to drive everything from inventory so I add the host details to (static) inventory and then run the

[ansible-project] Re: Weird Kerberos Issues with WinRM and a new host spun up from vmware_guest

2020-03-10 Thread David Foley
Did you Configure the WinRM ? for CredSSP ? runonce: - powershell.exe -ExecutionPolicy Unrestricted wget https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 -OutFile C:\Windows\Temp\ConfigureRemotingForAnsible.ps1