Adding missed "address" for mariadb service

Change-Id: I6cd7965c292ededd39d562b8dc328198efe24e7f
This commit is contained in:
Andrey 2016-10-03 09:31:24 +00:00
parent 6a95c87a58
commit 179705f542
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ service:
- mariadb
type: single
command:
mysql -u root -p{{ db_root_password }} -h mariadb -e "create database {{ glance_db_name }};
mysql -u root -p{{ db_root_password }} -h {{ address('mariadb') }} -e "create database {{ glance_db_name }};
grant all privileges on {{ glance_db_name }}.* to '{{ glance_db_username }}'@'%' identified by '{{ glance_db_password }}';"
- name: glance-db-sync
files: