-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing playbook in tower should alert slack or send email that it failed #5820
Comments
Some structural issues to having this happen consistently. You can only report failures when you Rescue an error from a block and all our playbooks don't use this pattern consistently. See if we can group roles into a task block, where we can use built-in rescue handling at the playbook level. |
Tower has the concept of alerts for jobs - we might be able to use that instead of changing the playbooks. See https://docs.ansible.com/ansible-tower/latest/html/userguide/notifications.html. I'm happy to pair with someone to try and get this done. |
notifications are sent through email |
@acozine setup successfully the integration in slack so we can receive alerts in slack. |
Maintenance
We have scheduled various playbooks to run in tower.
When a playbook fails to finish there is an output error in AnsibleTower but nothing in Slack to indicate that it failed.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: