diff --git a/test/integration/roles/test_mysql_user/tasks/user_password_update_test.yml b/test/integration/roles/test_mysql_user/tasks/user_password_update_test.yml index d342d0a4ac..8dcc414fde 100644 --- a/test/integration/roles/test_mysql_user/tasks/user_password_update_test.yml +++ b/test/integration/roles/test_mysql_user/tasks/user_password_update_test.yml @@ -57,11 +57,12 @@ ignore_errors: true register: result +- debug: var=result.msg - name: assert output message that database not create with old password assert: that: - "result.failed == true" - - "'check login_user and login_password are correct' in result.msg" + - "'check login credentials (login_user, and login_password' in result.msg" - name: create database using user2 and new password mysql_db: name={{ db_name }} state=present login_user={{ user_name_2 }} login_password={{ user_password_1 }}