From 8ebd4b65ce6a23bcaf54c597ed17043825e385ba Mon Sep 17 00:00:00 2001 From: Marc Gariepy Date: Fri, 5 May 2017 08:32:02 -0400 Subject: [PATCH] Fix mysql check for galera for CentOS Change-Id: I79702e51cf5a9eb0c49a2fb8e6b668639f2d7b0e --- .../playbooks/galera-cluster-rolling-restart.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade-utilities/playbooks/galera-cluster-rolling-restart.yml b/scripts/upgrade-utilities/playbooks/galera-cluster-rolling-restart.yml index f63f4c415c..3b5aa8f47f 100644 --- a/scripts/upgrade-utilities/playbooks/galera-cluster-rolling-restart.yml +++ b/scripts/upgrade-utilities/playbooks/galera-cluster-rolling-restart.yml @@ -49,7 +49,7 @@ delay: 10 - 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 until: - mysql_ready.rc == 0