mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-03-18 12:02:10 +07:00
Fix bootstrap galera according to latest versions
This commit is contained in:
@@ -18,8 +18,11 @@
|
|||||||
command: galera_new_cluster
|
command: galera_new_cluster
|
||||||
when: ansible_service_mgr == 'systemd'
|
when: ansible_service_mgr == 'systemd'
|
||||||
|
|
||||||
- name: COMMAND | Bootstrap first node (clean init)
|
- name: SERVICE | Bootstrap first node (clean init)
|
||||||
command: '/etc/init.d/mysql bootstrap'
|
service:
|
||||||
|
name: mysql
|
||||||
|
state: started
|
||||||
|
arguments: --wsrep-new-cluster
|
||||||
register: bootstrap_run
|
register: bootstrap_run
|
||||||
when: ansible_service_mgr != 'systemd'
|
when: ansible_service_mgr != 'systemd'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user