ansible/awx

Notification job_metadata as dict

Open

#7,780 opened on Jul 31, 2020

View on GitHub
 (0 comments) (3 reactions) (0 assignees)Python (3,333 forks)batch import
component:apihelp wantedtype:enhancement

Repository metrics

Stars
 (13,071 stars)
PR merge metrics
 (Avg merge 24d 6h) (30 merged PRs in 30d)

Description

ISSUE TYPE

Currently job_metadata is a string and makes it hard to pull information out to make the notification more readable. Partly because some of the jinja methods are blocked in the GUI for security reasons. Lastly some of the info is also available in host_status_counts, however this is limited to a single host.

SUMMARY

In order to create more readable notification e-mails, is it possible to add a dict with the same information as job_metadata, or have host_status_counts expanded to include all hosts?

Kind Regards,

Contributor guide