mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Incorrect identifier for 'res' in the callback receiver
This commit is contained in:
@@ -157,7 +157,7 @@ class CallbackReceiver(object):
|
||||
if event == 'playbook_on_stats':
|
||||
transaction.commit()
|
||||
print data
|
||||
if verbose == 0 and res in data['event_data'] and 'invocation' in data['event_data']['res'] and \
|
||||
if verbose == 0 and 'res' in data['event_data'] and 'invocation' in data['event_data']['res'] and \
|
||||
'module_args' in data['event_data']['res']['invocation']:
|
||||
data['event_data']['res']['invocation']['module_args'] = ""
|
||||
job_event = JobEvent(**data)
|
||||
|
||||
Reference in New Issue
Block a user