From 4dc124653261156ac1938932548421fa53f67dcd Mon Sep 17 00:00:00 2001 From: "R. Sicart" Date: Wed, 31 Aug 2022 17:56:31 +0200 Subject: [PATCH] Assert that priv did not change on mariadb also --- .../integration/targets/test_mysql_user/tasks/test_privs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/targets/test_mysql_user/tasks/test_privs.yml b/tests/integration/targets/test_mysql_user/tasks/test_privs.yml index b286229..be17908 100644 --- a/tests/integration/targets/test_mysql_user/tasks/test_privs.yml +++ b/tests/integration/targets/test_mysql_user/tasks/test_privs.yml @@ -178,7 +178,7 @@ assert: that: - result is not changed - when: (install_type == 'mysql' and mysql_version is version('8', '<')) 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.5', '<')) - name: remove username mysql_user: @@ -227,7 +227,7 @@ assert: that: - result is not changed - when: (install_type == 'mysql' and mysql_version is version('8', '<')) + when: (install_type == 'mysql' and mysql_version is version('8', '<')) or (install_type == 'mariadb') - name: Collect user info by host community.mysql.mysql_info: