Different hosts in group_vars and hosts for deploying Bedrock-Ansibile?

I have about 10 websites all running on their own VM. Each site has it’s own Vagrantfile pointing to the bedrock-ansible directory.

How do I go about adding different hosts in group_vars and hosts for deploying?

With just one it was easy, I added the ip, and deployed. How do I go about doing multiple?

You could create hosts files for each site: hosts/site1 like:


Then you could also add that host group to a group_vars if you want. Like group_vars/production:


Read more here: http://docs.ansible.com/intro_inventory.html


Thank you. Exactly what I needed.