From ed06623d0a9667ad4450ab336e455ab545c1bf71 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Sun, 15 Feb 2015 17:53:03 -0500 Subject: [PATCH] Fix inventory because of Vagrant private ssh keys Fix the inventory to account for change in vagrant private ssh keys --- ch04/playbooks/inventory | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ch04/playbooks/inventory b/ch04/playbooks/inventory index cd5b1d5..33a75be 100644 --- a/ch04/playbooks/inventory +++ b/ch04/playbooks/inventory @@ -1,7 +1,8 @@ [vagrant] -server1 ansible_ssh_host=192.168.4.10 ansible_ssh_user=vagrant -server2 ansible_ssh_host=192.168.4.11 ansible_ssh_user=vagrant -server3 ansible_ssh_host=192.168.4.12 ansible_ssh_user=vagrant +server1 ansible_ssh_host=192.168.4.10 ansible_ssh_user=vagrant ansible_ssh_private_key_file=.vagrant/machines/ubuntu/virtualbox/private_key +server2 ansible_ssh_host=192.168.4.11 ansible_ssh_user=vagrant ansible_ssh_private_key_file=.vagrant/machines/centos/virtualbox/private_key +server3 ansible_ssh_host=192.168.4.12 ansible_ssh_user=vagrant ansible_ssh_private_key_file=.vagrant/machines/precise/virtualbox/private_key + [ubuntu] server1 -- 2.44.0