openstack-ansible-plugins/tests/inventory
Jonathan Rosser 871d91cf26 Optimise linear strategy access to physical host variables
Change from using variable manager to the var we already have for
the physical host. This saves nearly 50% time for re-running
playbooks/lxc-container-create.yml

Change-Id: Ic50763f9c74746ef94925a4dd52d16e1f313711b
2020-06-24 20:13:53 +03:00

21 lines
525 B
Plaintext

[hosts]
localhost
[all_containers]
container1 container_name=container1 ansible_remote_tmp=/var/tmp
container2 container_name=container2
# This is used to test I75f9d0f55ecd875caa1bf608a77c92f950b679a1
[hosts]
localhost_alt ansible_host=127.0.0.1
[all_containers]
container3 container_name=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=fakecontainer physical_host=fakehost