success should not include skipped

fixes #13161
This commit is contained in:
Brian Coca 2015-11-14 14:39:00 -08:00
parent 07b588f6c0
commit 300ee227a2

View file

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