diff --git a/tests/integration/targets/test_mysql_user/tasks/test_password_expire.yml b/tests/integration/targets/test_mysql_user/tasks/test_password_expire.yml index 362aa1e..5605f07 100644 --- a/tests/integration/targets/test_mysql_user/tasks/test_password_expire.yml +++ b/tests/integration/targets/test_mysql_user/tasks/test_password_expire.yml @@ -163,12 +163,7 @@ state: present register: result check_mode: True - ignore_errors: true - - - name: password_expire | Assert that check mode for user creation - assert: - that: - - result.changed == true + failed_when: result is not changed - include_tasks: utils/remove_user.yml vars: