Ensure fallback galera restarts are notified
Notifies are only fired when the result of a task is "changed". In this case we want the fallback handlers to be notified when the initial handler fails so we set changed_when: result|failed. Change-Id: Ib12e8de961d9c55ed3701cc883a00de878211c27 Closes-Bug: #1533126
This commit is contained in:
parent
f6fb63f347
commit
5d1f8bf4e1
@ -22,6 +22,8 @@
|
|||||||
MYSQLD_STARTUP_TIMEOUT: 180
|
MYSQLD_STARTUP_TIMEOUT: 180
|
||||||
when: not galera_running_and_bootstrapped | bool
|
when: not galera_running_and_bootstrapped | bool
|
||||||
register: galera_restart
|
register: galera_restart
|
||||||
|
# notifies are only fired when status is "changed"
|
||||||
|
changed_when: galera_restart | failed
|
||||||
failed_when: false
|
failed_when: false
|
||||||
notify:
|
notify:
|
||||||
- "remove stale .sst"
|
- "remove stale .sst"
|
||||||
|
Loading…
Reference in New Issue
Block a user