Commit de64531e by Kevin Falcone

Allow a single user access to multiple databases

This avoids a class of confusing problems where a user might be given
access to two DBs and then when starting the app, fail because they can
only access one DB.
parent 63ec7608
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
name: "{{ item.user }}" name: "{{ item.user }}"
password: "{{ item.pass }}" password: "{{ item.pass }}"
priv: "{{ item.db }}.*:ALL" priv: "{{ item.db }}.*:ALL"
append_privs: yes
when: item.db != None and item.db != '' when: item.db != None and item.db != ''
with_items: "{{ edxlocal_database_users }}" with_items: "{{ edxlocal_database_users }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment