mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-24 22:00:23 -07:00
docs and sanity and integration test fix
This commit is contained in:
parent
6d73c24526
commit
a69c0e91d6
4 changed files with 17 additions and 8 deletions
|
@ -16,11 +16,15 @@
|
|||
- version
|
||||
register: primary_info
|
||||
|
||||
- set_fact:
|
||||
registred_db_version: "'{{ primary_info.version.major }}.{{ primary_info.version.minor }}\
|
||||
.{{ primary_info.version.release }}'"
|
||||
db_version_value: "'{{ db_version }}'"
|
||||
|
||||
- name: Assert that test container runs the expected MySQL/MariaDB version
|
||||
assert:
|
||||
that:
|
||||
- "'{{ primary_info.version.major }}.{{ primary_info.version.minor }}\
|
||||
.{{ primary_info.version.release }}' == '{{ db_version }}'"
|
||||
- registred_db_version == db_version_value
|
||||
|
||||
- name: Assert that mysql_info module used the expected version of pymysql
|
||||
assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue