On 05. aug. 2016 21:47, Anushri Mishra wrote:
hi, I am running examples from git-ansible examples project and running
"tomcat-standalone" server example.
Not seeing any changes on the target host. Below is the output:

Also I changed the hosts file to be :

[tomcat-servers]

server-ip  ansible_connection=local

This is you problem, ansible_connection=local
Here you say for server-ip use local connection it is the same as localhost.
So everything you do against this IP will by done on localhost aka ansible control machine aka where you run your ansible-playbook.

--
Kai Stian Olstad

--
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/96b7da73-8f4b-69a6-40fd-57b21fbbbb21%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to