mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 03:17:38 -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':
|
if event == 'playbook_on_stats':
|
||||||
transaction.commit()
|
transaction.commit()
|
||||||
print data
|
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']:
|
'module_args' in data['event_data']['res']['invocation']:
|
||||||
data['event_data']['res']['invocation']['module_args'] = ""
|
data['event_data']['res']['invocation']['module_args'] = ""
|
||||||
job_event = JobEvent(**data)
|
job_event = JobEvent(**data)
|
||||||
|
|||||||
Reference in New Issue
Block a user