Commit 8cc360e5 by Filippo Panessa

Assign right permissions to users

parent 7e107bf4
......@@ -75,7 +75,7 @@
mysql_user:
name: "{{ item.user }}"
password: "{{ item.pass }}"
priv: "{{ item.db }}.*:ALL"
priv: "{{ item.db }}.*:SELECT,INSERT,UPDATE,DELETE"
host: "{{ MARIADB_HOST_PRIV }}"
append_privs: yes
when: item.db != None and item.db != ''
......@@ -126,7 +126,7 @@
mysql_user:
name: "{{ COMMON_MYSQL_READ_ONLY_USER }}"
password: "{{ COMMON_MYSQL_READ_ONLY_PASS }}"
priv: "*.*:ALL"
priv: "*.*:SELECT"
- name: setup the admin db user
mysql_user:
......
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