openstack-ansible-os_zun/tests/host_vars
Jesse Pretorius 0b9e6b4a1a Switch compute to use different inventory_hostname
Our role tests execute as non-root users, and the roles
need to access the environment variables for that non-root
user. Ansible, when targeting localhost, changes to
'connection: local' and thus breaks everything we need
to do against localhost as root unless we use 'become: true',
but we if generally use that against remote hosts we lose
the environment variables for the non-root user.

As such, we switch the inventory to target 'compute1' instead,
which has the address '10.1.1.1' (br-mgmt), so that we do not
have to deal with the implict connection type changes implemented
by Ansible.

Change-Id: I4f582ec3edd6ccff9573d4fb5e40e6274ea38847
2018-07-26 10:25:36 +01:00
..
compute1.yml Switch compute to use different inventory_hostname 2018-07-26 10:25:36 +01:00
infra1.yml first commit 2018-06-05 15:36:33 -05:00
localhost.yml Switch compute to use different inventory_hostname 2018-07-26 10:25:36 +01:00
openstack1.yml first commit 2018-06-05 15:36:33 -05:00