Merge "Delegate check of db connectivity during upgrade"

This commit is contained in:
Zuul 2018-11-08 18:54:57 +00:00 committed by Gerrit Code Review
commit 93eb9040ab
1 changed files with 2 additions and 2 deletions

View File

@ -41,12 +41,12 @@
post_tasks:
- name: Wait for mariadb port 3306 to be available
local_action:
module: wait_for
wait_for:
port: "3306"
host: "{{ ansible_host | default(ansible_ssh_host | default(inventory_hostname)) }}"
retries: 10
delay: 10
delegate_to: "{{ groups['utility_all'][0] }}"
- name: Check that WSREP is ready and Synced
shell: "/usr/bin/mysqladmin extended-status | egrep '(wsrep_local_state_comment)'"