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
'ansible_become' defined as a host_var or in the inventory for a host
has a higher precedence than 'become' defined within a playbook.
In change Id5b76a87809f03951c954fc3d752419a673403f7, 'become' was
defined explicitly for each play running against localhost so
'ansible_become' should be removed from its host_vars.
Change-Id: If8e8330a6829405a9b17e8a89ba2b48c4a6d6a21
- Adds iptables rules
- Makes sure that health manager ip is the one
on the management interface
- Reworks variables
- Improves documentation
- Tests now run with an extra octavia network
- renamed mgmt network to lbaas-mgmt
- added ubuntu/centos specific iptables save/restore
commands/packages
Change-Id: I761ce0d2dce73d018c2ba2022798a3962e44b235
- installs Octavia service in OSA
- adds a test which installs Octavia (but uses noop
to work around gate limitations)
Co-Authored-By: German Eichberger <German.eichberger@rackspace.com>
Change-Id: Idb419a4ca5daa311d39c90eda5f83412ccf576ad