Browse Source

Merge "Correct failure when stopping cluster state is ignored"

Zuul 6 months ago
parent
commit
00e9fd9fd2
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      tasks/galera_upgrade_pre.yml

+ 2
- 1
tasks/galera_upgrade_pre.yml View File

@@ -14,9 +14,10 @@
14 14
 # limitations under the License.
15 15
 
16 16
 - name: Stop MariaDB
17
-  service:
17
+  systemd:
18 18
     name: mysql
19 19
     state: stopped
20
+  failed_when: "{{ (not galera_ignore_cluster_state | bool) | default(omit, false) }}"
20 21
   register: galera_restart_fall_back
21 22
   until: galera_restart_fall_back is success
22 23
   retries: 3

Loading…
Cancel
Save