mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-10 10:19:10 -07:00
mariadb isn't always the last elemen of the version string
This commit is contained in:
parent
0a64899eba
commit
65b9243056
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ def server_version_check(cursor):
|
|||
|
||||
# Currently we have no facility to handle new-style password update on
|
||||
# mariadb and the old-style update continues to work
|
||||
if version_str.lower().endswith('mariadb'):
|
||||
if 'mariadb' in version_str.lower():
|
||||
return True
|
||||
if (int(version[0]) <= 5 and int(version[1]) < 7):
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue