From fb5b68298954062ad7e8a36d58e6c0d04e2d1484 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 23 Dec 2014 12:01:35 -0800 Subject: [PATCH] Use "override" instead of "loaded second" to be clear about what happens Need for clarification brought up here: https://github.com/ansible/ansible/issues/9877 --- docsite/rst/intro_inventory.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/rst/intro_inventory.rst b/docsite/rst/intro_inventory.rst index 5b409e8e651..a830b6b4b67 100644 --- a/docsite/rst/intro_inventory.rst +++ b/docsite/rst/intro_inventory.rst @@ -184,7 +184,7 @@ variables. Note that this only works on Ansible 1.4 or later. Tip: In Ansible 1.2 or later the group_vars/ and host_vars/ directories can exist in either the playbook directory OR the inventory directory. If both paths exist, variables in the playbook -directory will be loaded second. +directory will override variables set in the inventory directory. Tip: Keeping your inventory file and variables in a git repo (or other version control) is an excellent way to track changes to your inventory and host variables.