Merge "Use database_address and database_port var for mariadb check"

This commit is contained in:
Zuul 2019-04-04 07:35:08 +00:00 committed by Gerrit Code Review
commit d9a0734fc5
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
---
- name: Waiting for MariaDB service to be ready through VIP
command: "docker exec mariadb mysql -h {{ kolla_internal_fqdn }} -P {{ mariadb_port }} -u haproxy -e 'show databases;'"
command: "docker exec mariadb mysql -h {{ database_address }} -P {{ database_port }} -u haproxy -e 'show databases;'"
register: result
until: result is success
changed_when: False