Fix mysql check for galera for CentOS

Change-Id: I79702e51cf5a9eb0c49a2fb8e6b668639f2d7b0e
This commit is contained in:
Marc Gariepy 2017-05-05 08:32:02 -04:00
parent a474993ad7
commit 8ebd4b65ce

View File

@ -49,7 +49,7 @@
delay: 10 delay: 10
- name: Check that WSREP is ready and Synced - name: Check that WSREP is ready and Synced
shell: "/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf extended-status | egrep '(wsrep_local_state_comment)'" shell: "/usr/bin/mysqladmin extended-status | egrep '(wsrep_local_state_comment)'"
register: mysql_ready register: mysql_ready
until: until:
- mysql_ready.rc == 0 - mysql_ready.rc == 0