From 6b8acae8b799c5139ba8c5a332dea12ab8cfedbf Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Tue, 19 Aug 2014 12:48:03 -0400 Subject: [PATCH] Incorrect identifier for 'res' in the callback receiver --- awx/main/management/commands/run_callback_receiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/management/commands/run_callback_receiver.py b/awx/main/management/commands/run_callback_receiver.py index 0d91fe559a..a97bee793b 100644 --- a/awx/main/management/commands/run_callback_receiver.py +++ b/awx/main/management/commands/run_callback_receiver.py @@ -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)