From bbcf093872fe5fe183d39edce21bbc26e4ef12a2 Mon Sep 17 00:00:00 2001 From: Yuriy Taraday Date: Thu, 6 Oct 2016 16:01:16 +0300 Subject: [PATCH] Convert all DB config to nested Change-Id: Ied5c93f3c7f9353b09c3d88061d580d37ca365ac Depends-On: Iab018288f1a884a72ff687d89b68ca08df47ba06 --- service/heat-api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/heat-api.yaml b/service/heat-api.yaml index 4245c8a..89a421a 100644 --- a/service/heat-api.yaml +++ b/service/heat-api.yaml @@ -15,7 +15,7 @@ service: - mariadb type: single command: - mysql -u root -p{{ db_root_password }} -h {{ address('mariadb') }} -e "create database {{ heat_db_name }}; + mysql -u root -p{{ db.root_password }} -h {{ address('mariadb') }} -e "create database {{ heat_db_name }}; grant all privileges on {{ heat_db_name }}.* to '{{ heat_db_username }}'@'%' identified by '{{ heat_db_password }}';" - name: heat-db-sync files: