mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-08 19:50:31 -07:00
fix key for username in the output to match mysql_user input
This commit is contained in:
parent
af327daa8e
commit
74ffacfa0f
1 changed files with 3 additions and 3 deletions
|
@ -517,12 +517,12 @@ class MySQL_Info(object):
|
||||||
{
|
{
|
||||||
"host": "users_privs.com",
|
"host": "users_privs.com",
|
||||||
"priv": "*.*: ALL,GRANT",
|
"priv": "*.*: ALL,GRANT",
|
||||||
"user": "users_privs_adm"
|
"name": "users_privs_adm"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"host": "users_privs.com",
|
"host": "users_privs.com",
|
||||||
"priv": "`mysql`.*: SELECT/`users_privs_db`.*: SELECT",
|
"priv": "`mysql`.*: SELECT/`users_privs_db`.*: SELECT",
|
||||||
"user": "users_privs_multi"
|
"name": "users_privs_multi"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
"""
|
"""
|
||||||
|
@ -569,7 +569,7 @@ class MySQL_Info(object):
|
||||||
|
|
||||||
copy_ressource_limits = dict.copy(resource_limits)
|
copy_ressource_limits = dict.copy(resource_limits)
|
||||||
output_dict = {
|
output_dict = {
|
||||||
'user': user,
|
'name': user,
|
||||||
'host': host,
|
'host': host,
|
||||||
'priv': '/'.join(priv_string),
|
'priv': '/'.join(priv_string),
|
||||||
'resource_limits': copy_ressource_limits,
|
'resource_limits': copy_ressource_limits,
|
||||||
|
|
Loading…
Add table
Reference in a new issue