From 5c61543e9aae00d28cb14bbf5e6b2e186a229b28 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Sat, 26 Nov 2016 15:48:55 -0800 Subject: [PATCH] Use assigned ip address in hosts If there's another vagrant box running, port 2222 won't be available, so use the ip address configured in the vagrantfile. --- ch06/playbooks/hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch06/playbooks/hosts b/ch06/playbooks/hosts index b3e4f80..e51ccf8 100644 --- a/ch06/playbooks/hosts +++ b/ch06/playbooks/hosts @@ -1 +1 @@ -web ansible_host=127.0.0.1 ansible_port=2222 +web ansible_host=192.168.33.10 -- 2.44.0