Fix rediness check

Mysqld is listening on a specific IP not on localhost or 0.0.0.0.
Rediness check should use the same IP.

Change-Id: I5713f5dc6502cac78fcf4d16bd04820f180d69da
This commit is contained in:
Aleksandr Didenko 2016-07-29 10:56:07 +02:00
parent 2c575ac3aa
commit 83c3fbe97b
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash -e
test -f /tmp/mariadb_ok && nc -z localhost {{ mariadb_port }}
test -f /tmp/mariadb_ok && nc -z {{ network_topology["private"]["address"] }} {{ mariadb_port }}