diff --git a/awx/main/tasks/jobs.py b/awx/main/tasks/jobs.py index be78472631..83e6653e9c 100644 --- a/awx/main/tasks/jobs.py +++ b/awx/main/tasks/jobs.py @@ -754,7 +754,7 @@ class BaseTask(object): extra_update_fields['job_explanation'] = self.instance.job_explanation # ensure failure notification sends even if playbook_on_stats event is not triggered - handle_success_and_failure_notifications.apply_async([self.instance.job.id]) + handle_success_and_failure_notifications.apply_async([self.instance.id]) except ReceptorNodeNotFound as exc: extra_update_fields['job_explanation'] = str(exc)