Commit 36b9bc4d by James Cammarata

Merge pull request #7021 from smoothify/skipped-items

skipped callback in loop does not display 'item'.
parents f9eb0ba4 48bf7a00
...@@ -884,7 +884,7 @@ class Runner(object): ...@@ -884,7 +884,7 @@ class Runner(object):
# no callbacks # no callbacks
return result return result
if 'skipped' in data: if 'skipped' in data:
self.callbacks.on_skipped(host) self.callbacks.on_skipped(host, inject.get('item',None))
elif not result.is_successful(): elif not result.is_successful():
ignore_errors = self.module_vars.get('ignore_errors', False) ignore_errors = self.module_vars.get('ignore_errors', False)
self.callbacks.on_failed(host, data, ignore_errors) self.callbacks.on_failed(host, data, ignore_errors)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment