How do you set up AWX notifications that people actually read?
BeginnerProductionAWX, AAP and Cloud Integration
Answer
Create notification templates (Slack, Microsoft Teams via webhook, email, PagerDuty, generic webhook) and attach them to job templates or workflows for start, success and failure.
What works in practice:
- Failures of prod jobs go to the team channel and, for critical jobs, to PagerDuty.
- Successes of routine scheduled jobs go nowhere, or to a low-noise channel. Nobody reads 200 "success" messages a day.
- Customise the message to include the job name, limit, launched by, and the job URL so people can click straight to the output.
Manage notification templates as code with awx.awx.notification_template like every other AWX object.
More on AWX, AAP and Cloud Integration
AWX or Red Hat Ansible Automation Platform: what is the difference and what do you pay for?BeginnerWhat are the core objects in AWX and how do they fit together?BeginnerHow do you manage AWX configuration as code?IntermediateHow do custom credential types work in AWX?AdvancedHow do you connect AWX to an external secrets manager?IntermediateHow do you trigger AWX jobs from CI or other systems?Intermediate