Skip to content

Commit

Permalink
linting (sanity)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent-indermuehle committed Sep 15, 2023
1 parent b308e95 commit c3fc8f2
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions plugins/modules/mysql_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,19 @@
sample:
- { "localhost": { "root": { "Alter_priv": "Y", "Alter_routine_priv": "Y" } } }
users_privs:
description: Information about users accounts. The output can be used as an input of the mysql_user plugin. Useful when migrating accounts to a new server or to create an inventory.
description:
Information about users accounts. The output can be used as an input of the
mysql_user plugin. Useful when migrating accounts to a new server or to
create an inventory.
returned: if not excluded by filter
type: dict
sample:
- { auth_string: '*1234567', "name": "user1", "host": "host.com", "plugin": "mysql_native_password", "privs": "'db1.*': 'SELECT'/'db2.*': 'SELECT'", resource_limits: { MAX_USER_CONNECTIONS: 100 } }
- { "auth_string": '*1234567',
"name": "user1",
"host": "host.com",
"plugin": "mysql_native_password",
"privs": "'db1.*': 'SELECT'/'db2.*': 'SELECT'",
"resource_limits": { MAX_USER_CONNECTIONS: 100 } }
engines:
description: Information about the server's storage engines.
returned: if not excluded by filter
Expand Down Expand Up @@ -246,7 +254,6 @@
mysql_driver_fail_msg,
get_connector_name,
get_connector_version,
get_server_version,
)
from ansible_collections.community.mysql.plugins.module_utils.user import (
privileges_get,
Expand Down

0 comments on commit c3fc8f2

Please sign in to comment.