Fix: test_mysql_user : Test idempotency (expect ok) ignore mariadb 10.5

This commit is contained in:
R. Sicart 2021-12-10 14:35:29 +01:00
commit 27df5a757c

View file

@ -173,10 +173,12 @@
state: present state: present
register: result register: result
# FIXME: on mariadb 10.5 there's always a change
- name: Assert that priv did not change - name: Assert that priv did not change
assert: assert:
that: that:
- "result.changed == false" - "result.changed == false"
when: install_type == 'mysql' or (install_type == 'mariadb' and mariadb_version is version('10.2', '=='))
# ============================================================ # ============================================================
- name: update user with invalid privileges - name: update user with invalid privileges