openstack-ansible-os_octavia/tests
Jesse Pretorius 87af014b16 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.

Depends-On: https://review.openstack.org/584033
Change-Id: I3c29bab37b5dbbd0faec246c02e3a39fe4c1033a
2018-07-20 10:21:12 +01:00
..
group_vars Octavia role hacking 2017-03-01 12:48:12 -05:00
host_vars Switch compute to use different inventory_hostname 2018-07-20 10:21:12 +01:00
ansible-role-requirements.yml Merge "ansible-role-requirements: Use systemd_service role from openstack namespace" 2018-03-25 17:44:11 +00:00
inventory Switch compute to use different inventory_hostname 2018-07-20 10:21:12 +01:00
os_octavia-overrides.yml Merge "Adds the issuer to the CAs" 2018-06-26 00:44:14 +00:00
test-configure-octavia.yml Adds constraints to all pip installs 2018-05-30 08:52:26 -07:00
test-install-octavia.yml Move database creation into role 2018-06-28 16:28:02 +01:00
test-octavia.yml Adds the issuer to the CAs 2018-06-22 08:46:14 -07:00
test.yml Octavia role hacking 2017-03-01 12:48:12 -05:00