diff --git a/test/integration/roles/test_failed_when/tasks/main.yml b/test/integration/roles/test_failed_when/tasks/main.yml index 7a0dce3b2e..4a5617e142 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 result.failed" + - "'failed' not in result" - name: command rc 0 failed_when_result False shell: exit 0