1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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