openstack-ansible-nspawn_co.../tests/host_vars/container2.yml
Jimmy McCrory e5ea3378ad 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: Iff8afbad1ef28b288c4ea403e6d4dc811b4b8a45
2018-10-20 15:28:29 -07:00

16 lines
278 B
YAML

---
ansible_host: 172.29.100.102
ansible_become: True
ansible_user: root
physical_host: localhost
container_name: container2
container_tech: nspawn
container_networks:
management_address:
address: "{{ ansible_host }}"
netmask: "255.255.255.0"
bridge: "br-mgmt"