2014-02-14 00:28:29 +01:00
|
|
|
[local]
|
|
|
|
testhost ansible_ssh_host=127.0.0.1 ansible_connection=local
|
2014-02-20 18:51:13 +01:00
|
|
|
testhost2 ansible_ssh_host=127.0.0.1 ansible_connection=local
|
|
|
|
|
|
|
|
# the following inline declarations are accompanied
|
|
|
|
# by (preferred) group_vars/ and host_vars/ variables
|
|
|
|
# and are used in testing of variable precedence
|
|
|
|
|
2014-09-10 00:41:58 +02:00
|
|
|
[inven_overridehosts]
|
|
|
|
invenoverride ansible_ssh_host=127.0.0.1 ansible_connection=local
|
|
|
|
|
|
|
|
[inven_overridehosts:vars]
|
|
|
|
foo=foo
|
|
|
|
var_dir=vars
|
|
|
|
|
2014-02-20 18:51:13 +01:00
|
|
|
[arbitrary_parent:children]
|
|
|
|
local
|
|
|
|
|
|
|
|
[local:vars]
|
|
|
|
parent_var=6000
|
|
|
|
groups_tree_var=5000
|
|
|
|
|
|
|
|
[arbitrary_parent:vars]
|
|
|
|
groups_tree_var=4000
|
|
|
|
overridden_in_parent=1000
|
|
|
|
|
|
|
|
[arbitrary_grandparent:children]
|
|
|
|
arbitrary_parent
|
|
|
|
|
|
|
|
[arbitrary_grandparent:vars]
|
|
|
|
groups_tree_var=3000
|
|
|
|
grandparent_var=2000
|
|
|
|
overridden_in_parent=2000
|
|
|
|
|
2014-04-29 03:37:08 +02:00
|
|
|
[amazon]
|
|
|
|
localhost ansible_ssh_host=127.0.0.1 ansible_connection=local
|