Galera must not be restarted after bootstrap first node

This commit is contained in:
Emilien Mantel committed 2016-09-25 15:29:51 +02:00
1 parent c984f19d53
commit 0d64e53eab
3 files changed
+5

No files matched your search

+1
View File
@@ -6,6 +6,7 @@
mysql_origin: 'default'
mysql_vendor: 'mariadb'
mysql_root_password: 'change_me_NOW'
mysql_notify_restart: true
# -------------------------------------
# Configuration
+1
View File
@@ -2,3 +2,4 @@
- name: restart mysql
action: service name=mysql state=restarted enabled=yes
when: mysql_notify_restart
+3
View File
@@ -7,6 +7,9 @@
register: s
- block:
- name: SET_FACT | We must NOT restart after bootstrap!
set_fact:
mysql_notify_restart: false
- name: SERVICE | Stop MariaDB
service: name=mysql state=stopped