mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-24 05:40:25 -07:00
Fix verify database version
Sometimes, version_full contains trailing information (-log). To prevent issues it's best to concatenate major and minor version.
This commit is contained in:
parent
e90876292e
commit
14cc5ccbee
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@
|
|||
- name: Assert that test container runs the expected MySQL/MariaDB version
|
||||
assert:
|
||||
that:
|
||||
- primary_info.version.full == db_version
|
||||
- >
|
||||
{{ primary_info.version.major }}.{{ primary_info.version.minor }}
|
||||
== {{ db_version }}
|
||||
|
||||
- name: Assert that mysql_info module used the expected connector
|
||||
assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue