Vagrantfile can do this too Vagrant.configure("2") do |config| config.vm.box = "precise32" config.vm.box_url = "http:// files.vagrantup.com/precise32.box" end URL for self-hosted boxes
User vagrant Port 2202 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile /Users/thijs/Sites/ vagrantup/.vagrant/machines/default/ virtualbox/private_key IdentitiesOnly yes LogLevel FATAL
-‐host_vars webserver001.yml webserver002.yml database001.yml database002.yml -‐playbook.yml -‐common.yml -‐roles nginx mysql Directory layout Variables per group or for all groups Variables per host Main playbook Included playbook Modularized playbooks
up webserver001 vagrant ssh webserver001 vagrant destroy webserver001 vagrant up database001 vagrant ssh database001 vagrant destroy database001 All VM’s Primary VM All VM’s