Vagrant.configure("2") do |config|
config.vm.define "postgres" do |postgres|
- postgres.vm.box = "trusty"
+ postgres.vm.box = "ubuntu/trusty64"
postgres.vm.network "private_network", ip: "192.168.33.9"
end
config.vm.define "ghost" do |ghost|
- ghost.vm.box = "trusty"
+ ghost.vm.box = "ubuntu/trusty64"
ghost.vm.network "private_network", ip: "192.168.33.10"
end
end
+[all:vars]
+ansible_ssh_user=vagrant
+
+[postgres]
+192.168.33.9 ansible_ssh_private_key_file=.vagrant/machines/postgres/virtualbox/private_key
+
+[ghost]
+192.168.33.10 ansible_ssh_private_key_file=.vagrant/machines/ghost/virtualbox/private_key