1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/var_precedence/inventory
Matt Clay 759e037edc Fix integration tests with custom inventory.
All inventory hosts to which a connection is actually established
should declare ansible_python_interpreter to avoid interpreter
auto-discovery, as that may select the wrong interpreter.
2019-03-11 21:43:58 -07:00

13 lines
341 B
Text

[local]
testhost ansible_connection=local ansible_python_interpreter="{{ ansible_playbook_python }}"
[all:vars]
extra_var_override=FROM_INVENTORY
inven_var=inventory_var
[inven_overridehosts]
invenoverride ansible_connection=local ansible_python_interpreter="{{ ansible_playbook_python }}"
[inven_overridehosts:vars]
foo=foo
var_dir=vars