mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 17:53:10 +00:00
corrects previous fix to deal with missing item key in results dict
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user