hi,

I have a for loop in my vagrant file that initializes and provisions a 
bunch of systems which essentially form a cluster.

Now, I want to run an ansible playbook on all of these machine but since 
these machines are created based on the for-loop I can not use a static 
inventory reliably. 

Furthermore, using the inventory file generated by vagrant does not work 
since ansible does not have access to the variables in host_vars and 
group_vars as we are using the same ansible playbooks for out CI/CD as 
well. 

I am lost on what to do now. I am looking for ideas .. 

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/32331218-fbd9-48a7-913d-18000ef0c195%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to