From: Lorin Hochstein Date: Sun, 15 Feb 2015 02:43:16 +0000 (-0500) Subject: Use "hosts" instead of "inventory" X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=dc881d0d303e480a62e88a36b67545587e09fbe3;p=ansiblebook.git Use "hosts" instead of "inventory" Follow closer to Ansible doc convention of using "hosts" as the known of the inventory file. --- diff --git a/ch01/playbooks/ansible.cfg b/ch01/playbooks/ansible.cfg index 998812f..9e012a1 100644 --- a/ch01/playbooks/ansible.cfg +++ b/ch01/playbooks/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = inventory +hostfile = hosts remote_user = vagrant private_key_file = .vagrant/machines/default/virtualbox/private_key host_key_checking = False diff --git a/ch01/playbooks/inventory b/ch01/playbooks/hosts similarity index 100% rename from ch01/playbooks/inventory rename to ch01/playbooks/hosts diff --git a/ch02/playbooks/ansible.cfg b/ch02/playbooks/ansible.cfg index 998812f..9e012a1 100644 --- a/ch02/playbooks/ansible.cfg +++ b/ch02/playbooks/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = inventory +hostfile = hosts remote_user = vagrant private_key_file = .vagrant/machines/default/virtualbox/private_key host_key_checking = False diff --git a/ch02/playbooks/inventory b/ch02/playbooks/hosts similarity index 100% rename from ch02/playbooks/inventory rename to ch02/playbooks/hosts diff --git a/ch04/playbooks/ansible.cfg b/ch04/playbooks/ansible.cfg index e86ffdb..16747c1 100644 --- a/ch04/playbooks/ansible.cfg +++ b/ch04/playbooks/ansible.cfg @@ -1,3 +1,3 @@ [defaults] -hostfile = inventory +hostfile = hosts private_key_file = ~/.vagrant.d/insecure_private_key diff --git a/ch04/playbooks/inventory b/ch04/playbooks/hosts similarity index 100% rename from ch04/playbooks/inventory rename to ch04/playbooks/hosts diff --git a/ch06/playbooks/ansible.cfg b/ch06/playbooks/ansible.cfg index 8187fd5..02ff35b 100644 --- a/ch06/playbooks/ansible.cfg +++ b/ch06/playbooks/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = inventory +hostfile = hosts remote_user = vagrant private_key_file = .vagrant/machines/default/virtualbox/private_key host_key_checking = False diff --git a/ch06/playbooks/inventory b/ch06/playbooks/hosts similarity index 100% rename from ch06/playbooks/inventory rename to ch06/playbooks/hosts diff --git a/ch10/playbooks/ansible.cfg b/ch10/playbooks/ansible.cfg index 998812f..9e012a1 100644 --- a/ch10/playbooks/ansible.cfg +++ b/ch10/playbooks/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -hostfile = inventory +hostfile = hosts remote_user = vagrant private_key_file = .vagrant/machines/default/virtualbox/private_key host_key_checking = False diff --git a/ch10/playbooks/inventory b/ch10/playbooks/hosts similarity index 100% rename from ch10/playbooks/inventory rename to ch10/playbooks/hosts diff --git a/ch13/playbooks/ansible.cfg b/ch13/playbooks/ansible.cfg index d1b3c4c..8f00c76 100644 --- a/ch13/playbooks/ansible.cfg +++ b/ch13/playbooks/ansible.cfg @@ -1,3 +1,3 @@ [defaults] -hostfile = inventory +hostfile = hosts gathering = explicit diff --git a/ch13/playbooks/inventory b/ch13/playbooks/hosts similarity index 100% rename from ch13/playbooks/inventory rename to ch13/playbooks/hosts