mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
on skipped you 'might' not have an item, changed to getattr to avoid keyerror
fixes #12683
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 = result['item']
|
||||
item = getattr(result, 'item')
|
||||
|
||||
return item
|
||||
|
||||
|
||||
Reference in New Issue
Block a user