Merge "Fix privileges for MariaDB 10.5"
This commit is contained in:
commit
612937de0f
@ -57,7 +57,7 @@
|
||||
name: "{{ mariadb_backup_database_user }}"
|
||||
password: "{{ mariadb_backup_database_password }}"
|
||||
host: "%"
|
||||
priv: "*.*:CREATE TABLESPACE,RELOAD,PROCESS,SUPER,LOCK TABLES,REPLICATION CLIENT"
|
||||
priv: "*.*:CREATE TABLESPACE,RELOAD,PROCESS,SUPER,LOCK TABLES,BINLOG MONITOR"
|
||||
append_privs: True
|
||||
when:
|
||||
- enable_mariabackup | bool
|
||||
|
@ -11,7 +11,7 @@
|
||||
name: "{{ prometheus_mysql_exporter_database_user }}"
|
||||
password: "{{ prometheus_mysql_exporter_database_password }}"
|
||||
host: "%"
|
||||
priv: "*.*:PROCESS,REPLICATION CLIENT,SELECT"
|
||||
priv: "*.*:PROCESS,SLAVE MONITOR,SELECT"
|
||||
append_privs: "yes"
|
||||
run_once: True
|
||||
delegate_to: "{{ groups['prometheus'][0] }}"
|
||||
|
Loading…
Reference in New Issue
Block a user