From c3fc8f22b7fe8e078f2412918ad654b7c77a2ea9 Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Fri, 15 Sep 2023 16:29:50 +0200 Subject: [PATCH] linting (sanity) --- plugins/modules/mysql_info.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/plugins/modules/mysql_info.py b/plugins/modules/mysql_info.py index 65d1e4e2..d07afb77 100644 --- a/plugins/modules/mysql_info.py +++ b/plugins/modules/mysql_info.py @@ -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 @@ -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,