mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-09 04:00:32 -07:00
document returned value
This commit is contained in:
parent
c1248cb692
commit
83ad999038
1 changed files with 4 additions and 3 deletions
|
@ -506,17 +506,18 @@ class MySQL_Info(object):
|
|||
of privileges that can be used with the mysql_user plugin.
|
||||
For instance:
|
||||
|
||||
"users_privs": {
|
||||
"users_privs_adm_users_privs.com": {
|
||||
"users_privs": [
|
||||
{
|
||||
"host": "users_privs.com",
|
||||
"privs": "*.*: ALL,GRANT",
|
||||
"user": "users_privs_adm"
|
||||
},
|
||||
"users_privs_multi_users_privs.com": {
|
||||
{
|
||||
"host": "users_privs.com",
|
||||
"privs": "`mysql`.*: SELECT/`users_privs_db`.*: SELECT",
|
||||
"user": "users_privs_multi"
|
||||
}
|
||||
]
|
||||
"""
|
||||
try:
|
||||
users = self.__exec_sql('SELECT * FROM mysql.user')
|
||||
|
|
Loading…
Add table
Reference in a new issue