Vagrant Ansible parallel execution and '.vagrant'

19 views
Skip to first unread message

Marcelo Garcia

unread,
Aug 25, 2018, 2:32:14 PM8/25/18
to Vagrant
I'm following the example about using Ansible with Vagrant:
Ansible Parallel Execution from a Guest
https://www.vagrantup.com/docs/provisioning/ansible_local.html

And I'm confused by the example: it makes references to the ".vagrant" folder that is not synced by default. That is, when defining the "inventory" file, we point to
...ansible_ssh_private_key_file=/vagrant/.vagrant/machines...
The problem is that the ".vagrant" file is not synced as described in "options" of the "RSync"
https://www.vagrantup.com/docs/synced-folders/rsync.html

Did anyone else faced the same problem? Is there a work around?

Alvaro Miranda Aguilera

unread,
Sep 3, 2018, 8:30:28 AM9/3/18
to vagra...@googlegroups.com
Can you use a different box that have shared folder enabled?
Reply all
Reply to author
Forward
0 new messages