Commit b9d54e9a by Brian Coca

corrects previous fix to deal with missing item key in results dict

parent abf2e139
......@@ -111,7 +111,7 @@ class CallbackBase:
if '_ansible_no_log' in result and result['_ansible_no_log']:
item = "(censored due to no_log)"
else:
item = getattr(result, 'item')
item = get(result, 'item', None)
return item
......
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