diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2015-11-14 14:39:00 -0800 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2015-11-14 14:39:42 -0800 |
commit | 300ee227a2e6d8017b9c9b34cf56702a827407f5 (patch) | |
tree | ececdaf58cc13af269146fbde69fd50f04526f9b | |
parent | 07b588f6c0065f5c91b95f96885b946852187197 (diff) | |
download | ansible-300ee227a2e6d8017b9c9b34cf56702a827407f5.tar.gz |
success should not include skipped
fixes #13161
-rw-r--r-- | lib/ansible/plugins/test/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/plugins/test/core.py b/lib/ansible/plugins/test/core.py index 1bd789260f..06fa687e24 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 ''' |