From dc881d0d303e480a62e88a36b67545587e09fbe3 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Sat, 14 Feb 2015 21:43:16 -0500 Subject: [PATCH] Use "hosts" instead of "inventory" Follow closer to Ansible doc convention of using "hosts" as the known of the inventory file. --- ch01/playbooks/ansible.cfg | 2 +- ch01/playbooks/{inventory => hosts} | 0 ch02/playbooks/ansible.cfg | 2 +- ch02/playbooks/{inventory => hosts} | 0 ch04/playbooks/ansible.cfg | 2 +- ch04/playbooks/{inventory => hosts} | 0 ch06/playbooks/ansible.cfg | 2 +- ch06/playbooks/{inventory => hosts} | 0 ch10/playbooks/ansible.cfg | 2 +- ch10/playbooks/{inventory => hosts} | 0 ch13/playbooks/ansible.cfg | 2 +- ch13/playbooks/{inventory => hosts} | 0 12 files changed, 6 insertions(+), 6 deletions(-) rename ch01/playbooks/{inventory => hosts} (100%) rename ch02/playbooks/{inventory => hosts} (100%) rename ch04/playbooks/{inventory => hosts} (100%) rename ch06/playbooks/{inventory => hosts} (100%) rename ch10/playbooks/{inventory => hosts} (100%) rename ch13/playbooks/{inventory => hosts} (100%) 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 -- 2.44.0