openstack-ansible-os_magnum/tests/host_vars
Jesse Pretorius e0e33a5f8d Switch compute/storage 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.

Depends-On: https://review.openstack.org/584033
Change-Id: I137b9a59520c35e6342c4883435fd191fbc5dd68
2018-07-19 18:05:03 +00:00
..
compute1 Switch compute/storage to use different inventory_hostname 2018-07-19 18:05:03 +00:00
infra1.yml Fix role gate tests for Ansible 2.3 2017-04-24 10:56:30 -07:00
localhost.yml Switch compute/storage to use different inventory_hostname 2018-07-19 18:05:03 +00:00
openstack1.yml Fix role gate tests for Ansible 2.3 2017-04-24 10:56:30 -07:00
storage1 Switch compute/storage to use different inventory_hostname 2018-07-19 18:05:03 +00:00