Correcting issue with Database and User Creation

Correcting issue with Database and User Creation as a result of
packages not being installed.  This patch delegates those tasks
to the Galera container.

Change-Id: I8364ca93a655cc9cba837bb7dbfa165dc6c6e34e
This commit is contained in:
Chris Hultin
2016-06-20 16:02:05 -05:00
parent 6f8371f140
commit 57bbb2cacc

View File

@@ -82,6 +82,7 @@
login_host: "{{ magnum_galera_address }}"
name: "{{ magnum_galera_database_name }}"
state: "present"
delegate_to: "{{ groups['galera_all'][0] }}"
tags:
- magnum-database-setup
- magnum-db-setup
@@ -96,6 +97,7 @@
priv: "{{ magnum_galera_database_name }}.*:ALL"
host: "{{ item }}"
state: "present"
delegate_to: "{{ groups['galera_all'][0] }}"
with_items:
- "localhost"
- "%"