Fix bootstrap galera according to latest versions

pull/20/head
Emilien Mantel 2017-06-28 17:44:17 +02:00
parent 312560ed32
commit 546652e46b
1 changed files with 5 additions and 2 deletions

View File

@ -18,8 +18,11 @@
command: galera_new_cluster
when: ansible_service_mgr == 'systemd'
- name: COMMAND | Bootstrap first node (clean init)
command: '/etc/init.d/mysql bootstrap'
- name: SERVICE | Bootstrap first node (clean init)
service:
name: mysql
state: started
arguments: --wsrep-new-cluster
register: bootstrap_run
when: ansible_service_mgr != 'systemd'