fix case when user as no other privileges than USAGE

This commit is contained in:
Laurent Indermuehle 2023-09-21 14:01:41 +02:00
commit ddd3812574
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
2 changed files with 8 additions and 3 deletions

View file

@ -75,6 +75,9 @@
privs:
'mysql.*': 'SELECT'
'users_privs_db.*': 'SELECT'
- name: users_privs_usage_only
priv:
'*.*': 'USAGE'
- name: Mysql_info users_privs | Prepare tests users for MariaDB
community.mysql.mysql_user:
@ -185,6 +188,7 @@
- users_privs_table
- users_privs_col
- users_privs_proc
- users_privs_usage_only
- name: Mysql_info users_privs | Cleanup sql file for the procedure
ansible.builtin.file: