mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-25 07:21:45 -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
|
||||
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
|
||||
assert:
|
||||
that:
|
||||
- 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue