linting (sanity)

This commit is contained in:
Laurent Indermuehle 2023-09-15 16:29:50 +02:00
parent 08b7842001
commit 88af430380
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -190,11 +190,19 @@ users:
sample: sample:
- { "localhost": { "root": { "Alter_priv": "Y", "Alter_routine_priv": "Y" } } } - { "localhost": { "root": { "Alter_priv": "Y", "Alter_routine_priv": "Y" } } }
users_privs: 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 returned: if not excluded by filter
type: dict type: dict
sample: 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: engines:
description: Information about the server's storage engines. description: Information about the server's storage engines.
returned: if not excluded by filter returned: if not excluded by filter
@ -246,7 +254,6 @@ from ansible_collections.community.mysql.plugins.module_utils.mysql import (
mysql_driver_fail_msg, mysql_driver_fail_msg,
get_connector_name, get_connector_name,
get_connector_version, get_connector_version,
get_server_version,
) )
from ansible_collections.community.mysql.plugins.module_utils.user import ( from ansible_collections.community.mysql.plugins.module_utils.user import (
privileges_get, privileges_get,