diff --git a/lib/ansible/plugins/callback/__init__.py b/lib/ansible/plugins/callback/__init__.py index bd9f7c775f4..a8c08bae5b7 100644 --- a/lib/ansible/plugins/callback/__init__.py +++ b/lib/ansible/plugins/callback/__init__.py @@ -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 = get(result, 'item', None) + item = result.get('item', None) return item