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:
@@ -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"
|
||||
- "%"
|
||||
|
Reference in New Issue
Block a user