diff --git a/tests/integration/targets/test_mysql_user/tasks/assert_user_password.yml b/tests/integration/targets/test_mysql_user/tasks/assert_user_password.yml index fd7e281..ba045eb 100644 --- a/tests/integration/targets/test_mysql_user/tasks/assert_user_password.yml +++ b/tests/integration/targets/test_mysql_user/tasks/assert_user_password.yml @@ -13,7 +13,7 @@ - name: assert a change occurred assert: that: - - "result.changed == {{ expect_change }}" + - "result.changed | bool == {{ expect_change }} | bool" - "result.password_changed == {{ expect_password_change }}" - name: query the user command: "{{ mysql_command }} -BNe \"SELECT plugin, authentication_string FROM mysql.user where user='{{ username }}' and host='{{ host }}'\""