Merge "Correct failure when stopping cluster state is ignored"
This commit is contained in:
commit
00e9fd9fd2
@ -14,9 +14,10 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- name: Stop MariaDB
|
- name: Stop MariaDB
|
||||||
service:
|
systemd:
|
||||||
name: mysql
|
name: mysql
|
||||||
state: stopped
|
state: stopped
|
||||||
|
failed_when: "{{ (not galera_ignore_cluster_state | bool) | default(omit, false) }}"
|
||||||
register: galera_restart_fall_back
|
register: galera_restart_fall_back
|
||||||
until: galera_restart_fall_back is success
|
until: galera_restart_fall_back is success
|
||||||
retries: 3
|
retries: 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user