Hi Jon,
I had a demo in 4 hours to showcase ansible and your reply below saved
my day.
Thank you so much.
Any way to give you points???
Regards,
Rajesh
On Tuesday, November 29, 2016 at 2:10:31 PM UTC+5:30, J Hawkesworth wrote:
>
> Hi Rajesh,
>
> You are hitting what is known as the 'second hop' problem.
>
> Ansible -> Windows host A win_ping (ok only 2 machines involved)
>
> Windows Host A -> invoke command Windows Host B (ok, again only 2
> machines involved)
>
> Ansible -> Windows Host A -> invoke command Windows Host B (disallowed
> because of second hop to 3rd machine)
>
> Fortunately since you have a domain set up you can use delegation to allow
> this.
>
> Just set the following in your windows group vars (needs pywinrm 0.2.0 or
> later)
>
> ansible_winrm_kerberos_delegation: yes
>
> Hope this ehlps,,
>
> Jon
>
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/429f314e-67a5-423d-86f0-63561f277590%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.