vagrant setup
authorLorin Hochstein <lorin.hochstein@sendgrid.com>
Sun, 11 Jan 2015 02:36:17 +0000 (21:36 -0500)
committerLorin Hochstein <lorin.hochstein@sendgrid.com>
Sun, 11 Jan 2015 02:36:17 +0000 (21:36 -0500)
ch04/Vagrantfile
ch04/ansible.cfg [new file with mode: 0644]
ch04/inventory [new file with mode: 0644]

index a67f1b3..c6934bd 100644 (file)
@@ -24,7 +24,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
 
   # Create a private network, which allows host-only access to the machine
   # using a specific IP.
-  # config.vm.network "private_network", ip: "192.168.33.10"
+  config.vm.network "private_network", ip: "192.168.4.10"
 
   # Create a public network, which generally matched to bridged network.
   # Bridged networks make the machine appear as another physical device on
diff --git a/ch04/ansible.cfg b/ch04/ansible.cfg
new file mode 100644 (file)
index 0000000..2648141
--- /dev/null
@@ -0,0 +1,3 @@
+[defaults]
+hostfile = inventory
+private_key_file = /Users/lorinhochstein/.vagrant.d/insecure_private_key
diff --git a/ch04/inventory b/ch04/inventory
new file mode 100644 (file)
index 0000000..f30eb9d
--- /dev/null
@@ -0,0 +1 @@
+vagrant ansible_ssh_host=192.168.4.10 ansible_ssh_user=vagrant