Use assigned ip address in hosts
authorLorin Hochstein <lhochstein@netflix.com>
Sat, 26 Nov 2016 23:48:55 +0000 (15:48 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Sat, 26 Nov 2016 23:48:55 +0000 (15:48 -0800)
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

index b3e4f80..e51ccf8 100644 (file)
@@ -1 +1 @@
-web ansible_host=127.0.0.1 ansible_port=2222
+web ansible_host=192.168.33.10