diff --git a/tests/integration/targets/test_mysql_user/tasks/test_user_locking.yml b/tests/integration/targets/test_mysql_user/tasks/test_user_locking.yml index f9bd07b..9897e18 100644 --- a/tests/integration/targets/test_mysql_user/tasks/test_user_locking.yml +++ b/tests/integration/targets/test_mysql_user/tasks/test_user_locking.yml @@ -37,22 +37,22 @@ - locked_user_creation.query_result[0][0] is not search('ACCOUNT LOCK') - name: 'Mysql_user Lock user | create locked | Idempotence check' + check_mode: true community.mysql.mysql_user: <<: *mysql_params name: mysql_locked_user locked: true - check_mode: true priv: 'mysql_lock_user_test.*': 'SELECT' register: idempotence_check failed_when: idempotence_check is changed - name: 'Mysql_user Lock user | create locked | Unlock test user check_mode: true' + check_mode: true community.mysql.mysql_user: <<: *mysql_params name: mysql_locked_user locked: false - check_mode: true priv: 'mysql_lock_user_test.*': 'SELECT' @@ -107,22 +107,22 @@ - locked_user_creation.query_result[0][0] is search('ACCOUNT LOCK') - name: 'Mysql_user Lock user | create unlocked | Idempotence check' + check_mode: true community.mysql.mysql_user: <<: *mysql_params name: mysql_locked_user locked: false - check_mode: true priv: 'mysql_lock_user_test.*': 'SELECT' register: idempotence_check failed_when: idempotence_check is changed - name: 'Mysql_user Lock user | create unlocked | Lock test user check_mode: true' + check_mode: true community.mysql.mysql_user: <<: *mysql_params name: mysql_locked_user locked: true - check_mode: true priv: 'mysql_lock_user_test.*': 'SELECT'