Interview Prep/Ansible/AWX, AAP and Cloud Integration

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.

All Ansible questions Roadmap: Ansible

More on AWX, AAP and Cloud Integration