mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-27 08:21:46 -07:00
Fix: exclude mysql 8 from test_mysql_user's 'Assert that priv did not change' test
This commit is contained in:
parent
f1d63e3fc8
commit
5dfe3b4b6b
1 changed files with 2 additions and 2 deletions
|
@ -173,12 +173,12 @@
|
||||||
state: present
|
state: present
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
# FIXME: on mariadb >=10.5.2 there's always a change because the REPLICATION CLIENT privilege was renamed to BINLOG MONITOR
|
# FIXME: on mysql >=8 and mariadb >=10.5.2 there's always a change because the REPLICATION CLIENT privilege was renamed to BINLOG MONITOR
|
||||||
- name: Assert that priv did not change
|
- name: Assert that priv did not change
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- result is not changed
|
- result is not changed
|
||||||
when: install_type == 'mysql' or (install_type == 'mariadb' and mariadb_version is version('10.2', '=='))
|
when: (install_type == 'mysql' and mysql_version is version('8', '<')) or (install_type == 'mariadb' and mariadb_version is version('10.2', '=='))
|
||||||
|
|
||||||
# ============================================================
|
# ============================================================
|
||||||
- name: update user with invalid privileges
|
- name: update user with invalid privileges
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue