openstack-ansible-os_cinder/tests/host_vars
Jesse Pretorius 2fe8f7e09e Switch 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: I738e4ca31cd4d465d7e7eee3de052a40f7b1596a
2018-07-19 19:13:17 +01:00
..
cinder.yml Standardize the testing for Cinder 2016-10-05 09:01:16 +00:00
cinder_vol.yml Ensure all cinder_backends are created 2017-01-04 11:43:33 +00:00
infra1.yml Standardize the testing for Cinder 2016-10-05 09:01:16 +00:00
keystone.yml Standardize the testing for Cinder 2016-10-05 09:01:16 +00:00
localhost.yml Execute service setup against a delegated host using Ansible built-in modules 2018-07-13 13:42:58 +01:00
storage1.yml Switch storage to use different inventory_hostname 2018-07-19 19:13:17 +01:00