mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-05 10:10:32 -07:00
Fix sanity
This commit is contained in:
parent
902392e861
commit
e22e8939e2
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue