diff --git a/plugins/modules/mysql_info.py b/plugins/modules/mysql_info.py index 65d1e4e..d07afb7 100644 --- a/plugins/modules/mysql_info.py +++ b/plugins/modules/mysql_info.py @@ -190,11 +190,19 @@ users: 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 @@ -246,7 +254,6 @@ from ansible_collections.community.mysql.plugins.module_utils.mysql import ( 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,