diff --git a/service/glance-api.yaml b/service/glance-api.yaml index 7878e06..f634940 100644 --- a/service/glance-api.yaml +++ b/service/glance-api.yaml @@ -15,7 +15,7 @@ service: - mariadb type: single command: - mysql -u root -p{{ db_root_password }} -h {{ address('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: