From: Lorin Hochstein Date: Sat, 26 Nov 2016 23:24:28 +0000 (-0800) Subject: Change "hostfile" to "inventory" X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=43c3db52f97f5522e86a80aa4c5450522f8cefdd;p=ansiblebook.git Change "hostfile" to "inventory" In the ansible.cfg file, "hostfile" has been changed to "inventory" --- diff --git a/ch01/playbooks/ansible.cfg b/ch01/playbooks/ansible.cfg index 9e012a1..d2899e1 100644 --- a/ch01/playbooks/ansible.cfg +++ b/ch01/playbooks/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = hosts +inventory = hosts remote_user = vagrant private_key_file = .vagrant/machines/default/virtualbox/private_key host_key_checking = False diff --git a/ch02/playbooks/ansible.cfg b/ch02/playbooks/ansible.cfg index 9e012a1..d2899e1 100644 --- a/ch02/playbooks/ansible.cfg +++ b/ch02/playbooks/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = hosts +inventory = hosts remote_user = vagrant private_key_file = .vagrant/machines/default/virtualbox/private_key host_key_checking = False diff --git a/ch03/ansible.cfg b/ch03/ansible.cfg index 021335f..908b586 100644 --- a/ch03/ansible.cfg +++ b/ch03/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = inventory +inventory = inventory remote_user = vagrant private_key_file = ~/.vagrant.d/insecure_private_key host_key_checking = False diff --git a/ch04/playbooks/ansible.cfg b/ch04/playbooks/ansible.cfg index 16747c1..118702c 100644 --- a/ch04/playbooks/ansible.cfg +++ b/ch04/playbooks/ansible.cfg @@ -1,3 +1,3 @@ [defaults] -hostfile = hosts +inventory = hosts private_key_file = ~/.vagrant.d/insecure_private_key diff --git a/ch06/playbooks/ansible.cfg b/ch06/playbooks/ansible.cfg index 02ff35b..94519f2 100644 --- a/ch06/playbooks/ansible.cfg +++ b/ch06/playbooks/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = hosts +inventory = hosts remote_user = vagrant private_key_file = .vagrant/machines/default/virtualbox/private_key host_key_checking = False diff --git a/ch09/playbooks/ansible.cfg b/ch09/playbooks/ansible.cfg index 62cf73a..b4f1896 100644 --- a/ch09/playbooks/ansible.cfg +++ b/ch09/playbooks/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = hosts +inventory = hosts # Vagrant remote_user = vagrant diff --git a/ch10/playbooks/ansible.cfg b/ch10/playbooks/ansible.cfg index 9e012a1..d2899e1 100644 --- a/ch10/playbooks/ansible.cfg +++ b/ch10/playbooks/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = hosts +inventory = hosts remote_user = vagrant private_key_file = .vagrant/machines/default/virtualbox/private_key host_key_checking = False diff --git a/ch12/playbooks/ansible.cfg b/ch12/playbooks/ansible.cfg index d3da3e0..059b358 100644 --- a/ch12/playbooks/ansible.cfg +++ b/ch12/playbooks/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = inventory +inventory = inventory pipelining = True gathering = smart fact_caching = redis diff --git a/ch13/playbooks/ansible.cfg b/ch13/playbooks/ansible.cfg index 8f00c76..806b776 100644 --- a/ch13/playbooks/ansible.cfg +++ b/ch13/playbooks/ansible.cfg @@ -1,3 +1,3 @@ [defaults] -hostfile = hosts +inventory = hosts gathering = explicit