From e22e8939e2a508f2cf430a9ed66eb9107cda2613 Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Thu, 11 Apr 2024 19:59:41 +0200 Subject: [PATCH] Fix sanity --- plugins/module_utils/implementations/mariadb/user.py | 1 + plugins/module_utils/implementations/mysql/user.py | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/module_utils/implementations/mariadb/user.py b/plugins/module_utils/implementations/mariadb/user.py index ecf867e..fa9ecdf 100644 --- a/plugins/module_utils/implementations/mariadb/user.py +++ b/plugins/module_utils/implementations/mariadb/user.py @@ -30,6 +30,7 @@ def server_supports_password_expire(cursor): return LooseVersion(version) >= LooseVersion("10.4.3") + def get_tls_requires(cursor, user, host): """Get user TLS requirements. Reads directly from mysql.user table allowing for a more diff --git a/plugins/module_utils/implementations/mysql/user.py b/plugins/module_utils/implementations/mysql/user.py index eed2e25..700c355 100644 --- a/plugins/module_utils/implementations/mysql/user.py +++ b/plugins/module_utils/implementations/mysql/user.py @@ -34,6 +34,7 @@ def server_supports_password_expire(cursor): return LooseVersion(version) >= LooseVersion("5.7") + def get_tls_requires(cursor, user, host): """Get user TLS requirements. We must use SHOW GRANTS because some tls fileds are encoded.