diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 3942cc78bb..b8bb60905b 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -233,7 +233,8 @@ def handle_work_success(self, result, task_actual): task_actual['id'], instance_name, notification_body['url']) - send_notifications.delay([n.generate_notification(notification_subject, notification_body) + notification_body['friendly_name'] = friendly_name + send_notifications.delay([n.generate_notification(notification_subject, notification_body).id for n in set(notifiers.get('success', []) + notifiers.get('any', []))], job_id=task_actual['id'])