fde570021032937b8ad30995ba84b9c6376cb761
The octavia services were always restarted when running the
ansible-playbook
1. The 'Bring the management port interface up' task should only be run
if the 'create octavia management interface' task changed.
Add a when clause that checks the output of the previous task.
2. A 'when' clause compares 2 strings, but one of the strings always
starts with a whitespace, while the other string doesn't.
Trim the output of a task to make sure the strings are formatted
correctly.
Closes-Bug: 1964099
Change-Id: Ic46ba50c7200d5b4eacd1ee8c03d135bdcc2e353
(cherry picked from commit 78d58174c3)
Team and repository tags
TripleO Ansible
TripleO Ansible project repository. Contains Ansible playbooks, roles, and plugins for use with TripleO.
Documentation for the project can be found at: https://docs.openstack.org/tripleo-ansible/latest/
Release notes for the project can be found at: https://docs.openstack.org/releasenotes/tripleo-ansible/
The project source code repository is located at: https://opendev.org/openstack/tripleo-ansible/
The project home is at: https://launchpad.net/tripleo
The project bug tracker is located at: https://bugs.launchpad.net/tripleo
Description
RETIRED, TripleO Ansible project repository. Contains playbooks for use with TripleO OpenStack deployments.