Hello,

I wish to run a ansible playbook on vagrant machines. I know vagrant 
provisioning, but scenario how I wish to run is as below:

----------------
I have 3 vagrant machine in running state.

And I have ansible playbook, that I wish to run on these vagrant machines 
when machines are in running state. I mean I wish run playbook by running 
ansible command to configure vagrant machines without use of command 
vagrant up.

When I run ansible command ansible facing issue to ssh. Because vagrant 
machine forwards guests 22 port on different port on host as follows

machine1 22=> 2201
machine2 22=> 2202
machine3 22=> 2203

As we know ansible works on ssh port that is 22. I know we can configure 
ansible to use another port lets say 2201, but what about other 2 machines 
running on port 2202 and 2203.
----------------

Thanks !!!

-- 
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/6d9d62f0-ede4-45ae-a80e-936d6cd860a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to