Merge "Update MySQL monitor user privileges for ProxySQL monitoring"
This commit is contained in:
commit
325a02093a
@ -31,7 +31,7 @@
|
||||
name: "{{ mariadb_monitor_user }}"
|
||||
password: "{% if enable_proxysql | bool %}{{ mariadb_monitor_password }}{% endif %}"
|
||||
host: "%"
|
||||
priv: "*.*:USAGE"
|
||||
priv: "*.*:USAGE,REPLICATION CLIENT"
|
||||
tags: always
|
||||
with_dict: "{{ mariadb_shards_info.shards }}"
|
||||
loop_control:
|
||||
|
@ -29,7 +29,7 @@
|
||||
name: "{{ mariadb_monitor_user }}"
|
||||
password: "{% if enable_proxysql | bool %}{{ mariadb_monitor_password }}{% endif %}"
|
||||
host: "%"
|
||||
priv: "*.*:USAGE"
|
||||
priv: "*.*:USAGE,REPLICATION CLIENT"
|
||||
when:
|
||||
- inventory_hostname == groups[mariadb_shard_group][0]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user