[fix] Test for 3306 on MASTERIP, not localhost

This commit is contained in:
William Wernert
2020-04-28 16:19:08 -04:00
parent 3cff145e2d
commit 05c55efe12

View File

@@ -85,8 +85,8 @@ so-mysql:
- watch:
- /opt/so/conf/mysql/etc
cmd.run:
- name: until nc -z localhost 3036; do sleep 1; done
- timeout: 120
- name: until nc -z {{ MASTERIP }} 3036; do sleep 1; done
- timeout: 360
- onchanges:
- docker_container: so-mysql
{% endif %}