Add vagrantfile and inventory
authorLorin Hochstein <lhochstein@netflix.com>
Mon, 6 Feb 2017 04:48:10 +0000 (20:48 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Mon, 6 Feb 2017 04:48:10 +0000 (20:48 -0800)
ch13/Vagrantfile
ch13/inventory

index 8347aef..9672e8a 100644 (file)
@@ -3,11 +3,11 @@
 
 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
index e69de29..367a877 100644 (file)
@@ -0,0 +1,8 @@
+[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