openstack-ansible-plugins/tests/inventory
Logan V 3f224cdef7 Fix physical_host loading from group/host vars
Commit I76af71ffe19b2a8afb18ed731f1362a4e399c613 broke the ability
to define physical_host in host_vars and group_vars. The physical_host
is only loaded from the ini inventory.

Change-Id: I3798529cf2bf73afbff2d2ef0f3fe17d91123fbc
2018-07-12 18:13:18 -05:00

21 lines
409 B
Plaintext

[hosts]
localhost
[all_containers]
container1
container2
# This is used to test I75f9d0f55ecd875caa1bf608a77c92f950b679a1
[hosts]
localhost_alt
[all_containers]
container3
# This is meant to test If594914df53efacc6d5bba148f4f46280f5a117d
[fake_hosts]
fakehost ansible_host=1.1.1.1
[hosts:children]
fake_hosts
[fake_containers]
fakecontainer container_name="{{ inventory_hostname }}" physical_host=fakehost