Merge "Correct failure when stopping cluster state is ignored"

This commit is contained in:
Zuul 2018-10-25 12:22:19 +00:00 committed by Gerrit Code Review
commit 00e9fd9fd2

View File

@ -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