From 140df20504617dcf5f7e4951443b9110420d4792 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 10 Mar 2016 00:16:24 -0500 Subject: [PATCH] corrected failed_when test --- test/integration/roles/test_failed_when/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/roles/test_failed_when/tasks/main.yml b/test/integration/roles/test_failed_when/tasks/main.yml index 4a5617e142..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' not in result" + - "'failed' in result and result.failed" - name: command rc 0 failed_when_result False shell: exit 0