mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-27 04:41:28 -07:00
Simplify version computation
This commit is contained in:
parent
17f8ecef35
commit
1c863da888
1 changed files with 2 additions and 3 deletions
|
@ -23,9 +23,8 @@
|
|||
set_fact:
|
||||
mysql8022_and_higher: true
|
||||
when:
|
||||
- db.version.major > 8 or (db.version.major == 8 and db.version.minor > 0) or (db.version.major == 8 and db.version.minor == 0 and db.version.release >= 22)
|
||||
- db_engine == 'mysql'
|
||||
|
||||
- db_engine == 'mysql'
|
||||
- db_version is version('8.0.22', '>=')
|
||||
|
||||
# Preparation:
|
||||
- name: Create user for mysql replication
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue