tripleo-ansible/tripleo_ansible/roles/octavia_controller_post_config
Gregory Thiemonge fde5700210 Prevent the abusive restart of the octavia services
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)
2022-03-16 10:56:06 +01:00
..
defaults Rename all roles that have a hyphen 2020-01-21 20:42:40 -06:00
meta fix galaxy meta requirements 2021-09-23 14:36:41 +02:00
tasks Prevent the abusive restart of the octavia services 2022-03-16 10:56:06 +01:00
templates Fix rsyslog facility config for Octavia amphora-agent 2020-12-01 16:25:00 +01:00