Test that we can override variables set in inventory when the vars_file name is templated

Fixes #8903
This commit is contained in:
Toshio Kuratomi 2014-09-09 15:41:58 -07:00
commit a9b5b1bf55
3 changed files with 20 additions and 0 deletions

View file

@ -6,6 +6,13 @@ testhost2 ansible_ssh_host=127.0.0.1 ansible_connection=local
# by (preferred) group_vars/ and host_vars/ variables
# and are used in testing of variable precedence
[inven_overridehosts]
invenoverride ansible_ssh_host=127.0.0.1 ansible_connection=local
[inven_overridehosts:vars]
foo=foo
var_dir=vars
[arbitrary_parent:children]
local