change playbook to use hostname

This commit is contained in:
Mike Reeves
2023-02-22 14:14:27 -05:00
parent c20a7e6cf9
commit c6a46d1eb3
2 changed files with 10 additions and 8 deletions

View File

@@ -105,7 +105,7 @@ so-mysql:
- file: mysqlcnf
- file: mysqlpass
cmd.run:
- name: until nc -z {{ GLOBALS.manager_ip }} 3306; do sleep 1; done
- name: until nc -z {{ GLOBALS.manager }} 3306; do sleep 1; done
- timeout: 600
- onchanges:
- docker_container: so-mysql