From 300ee227a2e6d8017b9c9b34cf56702a827407f5 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Sat, 14 Nov 2015 14:39:00 -0800 Subject: [PATCH] success should not include skipped fixes #13161 --- lib/ansible/plugins/test/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/test/core.py b/lib/ansible/plugins/test/core.py index 1bd789260f7..06fa687e24a 100644 --- a/lib/ansible/plugins/test/core.py +++ b/lib/ansible/plugins/test/core.py @@ -36,7 +36,7 @@ def failed(*a, **kw): def success(*a, **kw): ''' Test if task result yields success ''' - return not failed(*a, **kw) + return not failed(*a, **kw) and not skipped(*a, **kw) def changed(*a, **kw): ''' Test if task result yields changed '''