From a37bc3788bd084ceb932de9319f8ef7ccd67d74d Mon Sep 17 00:00:00 2001 From: Tom Booth Date: Fri, 28 Oct 2016 14:03:34 -0700 Subject: [PATCH] runner_on_async_failed missing arg missing and argument from CallbackModule --- lib/ansible/plugins/callback/syslog_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/callback/syslog_json.py b/lib/ansible/plugins/callback/syslog_json.py index dfb8ae84eb7..e93b97b568b 100644 --- a/lib/ansible/plugins/callback/syslog_json.py +++ b/lib/ansible/plugins/callback/syslog_json.py @@ -57,7 +57,7 @@ class CallbackModule(CallbackBase): def runner_on_unreachable(self, host, res): self.logger.error('%s ansible-command: task execution UNREACHABLE; host: %s; message: %s' % (self.hostname,host,self._dump_results(res))) - def runner_on_async_failed(self, host, res): + def runner_on_async_failed(self, host, res, jid): self.logger.error('%s ansible-command: task execution FAILED; host: %s; message: %s' % (self.hostname,host,self._dump_results(res))) def playbook_on_import_for_host(self, host, imported_file):