diff --git a/test/integration/roles/test_failed_when/tasks/main.yml b/test/integration/roles/test_failed_when/tasks/main.yml index 37c495e0d4..7a0dce3b2e 100644 --- a/test/integration/roles/test_failed_when/tasks/main.yml +++ b/test/integration/roles/test_failed_when/tasks/main.yml @@ -23,7 +23,7 @@ - assert: that: - - "'failed' in result and not result.failed" + - "'failed' in result and result.failed" - name: command rc 0 failed_when_result False shell: exit 0