mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-08 03:30:33 -07:00
Disable a test for idempotency that fails on MySQL 8+ and MariaDB 10.5+
This commit is contained in:
parent
eb3fcd9ec2
commit
51b103e992
1 changed files with 5 additions and 0 deletions
|
@ -1426,6 +1426,7 @@
|
||||||
that:
|
that:
|
||||||
- result is changed
|
- result is changed
|
||||||
|
|
||||||
|
# TODO This is not idempotent on MySQL 8+ and MariaDB 10.5+
|
||||||
- name: Append privs again
|
- name: Append privs again
|
||||||
mysql_role:
|
mysql_role:
|
||||||
<<: *mysql_params
|
<<: *mysql_params
|
||||||
|
@ -1439,6 +1440,10 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- result is not changed
|
- result is not changed
|
||||||
|
when:
|
||||||
|
# TODO remove this when stable-2 role append priv is fixed
|
||||||
|
- (db_engine == 'mysql' and db_version is version('5.7', '<=')
|
||||||
|
or db_engine == 'mariadb' and db_version is version('10.4', '<='))
|
||||||
|
|
||||||
- name: Rewrite privs
|
- name: Rewrite privs
|
||||||
mysql_role:
|
mysql_role:
|
||||||
|
|
Loading…
Add table
Reference in a new issue