2014-02-13 23:28:29 +00:00
|
|
|
[local]
|
|
|
|
testhost ansible_ssh_host=127.0.0.1 ansible_connection=local
|
2014-02-20 17:51:13 +00:00
|
|
|
testhost2 ansible_ssh_host=127.0.0.1 ansible_connection=local
|
2014-12-08 20:44:44 +00:00
|
|
|
# For testing delegate_to
|
|
|
|
testhost3 ansible_ssh_host=127.0.0.3
|
|
|
|
testhost4 ansible_ssh_host=127.0.0.4
|
2016-03-15 01:48:40 +00:00
|
|
|
# For testing fact gathering
|
2016-03-15 18:58:23 +00:00
|
|
|
facthost[0:8] ansible_host=1270.0.0.1 ansible_connection=local
|
2016-03-15 01:48:40 +00:00
|
|
|
|
2014-02-20 17:51:13 +00:00
|
|
|
|
|
|
|
# the following inline declarations are accompanied
|
|
|
|
# by (preferred) group_vars/ and host_vars/ variables
|
|
|
|
# and are used in testing of variable precedence
|
|
|
|
|
2014-09-09 22:41:58 +00:00
|
|
|
[inven_overridehosts]
|
|
|
|
invenoverride ansible_ssh_host=127.0.0.1 ansible_connection=local
|
|
|
|
|
2014-11-26 18:55:37 +00:00
|
|
|
[all:vars]
|
|
|
|
extra_var_override=FROM_INVENTORY
|
|
|
|
inven_var=inventory_var
|
2015-03-12 03:58:21 +00:00
|
|
|
unicode_host_var=CaféEñyei
|
2014-11-26 18:55:37 +00:00
|
|
|
|
2014-09-09 22:41:58 +00:00
|
|
|
[inven_overridehosts:vars]
|
|
|
|
foo=foo
|
|
|
|
var_dir=vars
|
|
|
|
|
2014-02-20 17:51:13 +00: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 01:37:08 +00:00
|
|
|
[amazon]
|
|
|
|
localhost ansible_ssh_host=127.0.0.1 ansible_connection=local
|