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/176c06f4-c0f8-44ee-bd55-3811fc31864c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to