![]() 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
|
||
---|---|---|
.. | ||
defaults | ||
meta | ||
tasks | ||
templates |