From 71abdd7567c848d5ff4548d993377ab0d0887581 Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Thu, 12 Oct 2023 15:23:07 +0200 Subject: [PATCH] document why certain authentications plugins cause issues --- plugins/modules/mysql_info.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/plugins/modules/mysql_info.py b/plugins/modules/mysql_info.py index a566501b..0125a6a0 100644 --- a/plugins/modules/mysql_info.py +++ b/plugins/modules/mysql_info.py @@ -223,10 +223,14 @@ - { "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. Does not support proxy privileges. Cause issue with - authentications plugins C(sha256_password) and C(caching_sha2_password). + - Information about users accounts. + - The output can be used as an input of the M(community.mysql.mysql_user) plugin. + - Useful when migrating accounts to another server or to create an inventory. + - Does not support proxy privileges. If an account has proxy privileges, they won't appear in the output. + - Causes issues with authentications plugins C(sha256_password) and C(caching_sha2_password). + If the output is fed to M(community.mysql.mysql_user), the + ``plugin_auth_string`` will most likely be unreadable due to non-binary + characters. returned: if not excluded by filter type: dict sample: