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 '''