mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-19 17:01:26 -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.
|
of privileges that can be used with the mysql_user plugin.
|
||||||
For instance:
|
For instance:
|
||||||
|
|
||||||
"users_privs": {
|
"users_privs": [
|
||||||
"users_privs_adm_users_privs.com": {
|
{
|
||||||
"host": "users_privs.com",
|
"host": "users_privs.com",
|
||||||
"privs": "*.*: ALL,GRANT",
|
"privs": "*.*: ALL,GRANT",
|
||||||
"user": "users_privs_adm"
|
"user": "users_privs_adm"
|
||||||
},
|
},
|
||||||
"users_privs_multi_users_privs.com": {
|
{
|
||||||
"host": "users_privs.com",
|
"host": "users_privs.com",
|
||||||
"privs": "`mysql`.*: SELECT/`users_privs_db`.*: SELECT",
|
"privs": "`mysql`.*: SELECT/`users_privs_db`.*: SELECT",
|
||||||
"user": "users_privs_multi"
|
"user": "users_privs_multi"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
users = self.__exec_sql('SELECT * FROM mysql.user')
|
users = self.__exec_sql('SELECT * FROM mysql.user')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue