openstack-ansible-tests/tests/inventory
Jesse Pretorius 66e6b8f69a Set container_name as host_var in test inventory
The connection plugin no longer falls back on using the
inventory_hostname as the container_name. Set container_name as a host
var for each container in the test inventory.

Change-Id: I7a9343d29f853eba9b377855149d07a3d2865143
2018-10-22 16:50:16 +01:00

35 lines
471 B
Plaintext

[all]
localhost
infra1 ansible_host=10.1.0.2 ansible_become=True ansible_user=root container_name=infra1
keystone1 ansible_host=10.1.0.3 ansible_become=True ansible_user=root container_name=keystone1
[all_containers]
infra1
keystone1
[oslomsg_rpc_all]
infra1
[oslomsg_notify_all]
infra1
[rabbitmq_all]
infra1
[galera_all]
infra1
[memcached_all]
infra1
[service_all:children]
rabbitmq_all
galera_all
memcached_all
[keystone_all]
keystone1
[utility_all]
keystone1