From: Lorin Hochstein Date: Sat, 26 Nov 2016 23:48:55 +0000 (-0800) Subject: Use assigned ip address in hosts X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=5c61543e9aae00d28cb14bbf5e6b2e186a229b28;p=ansiblebook.git 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. --- 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