awx
awx copied to clipboard
Add hostname for failure notifications
Please confirm the following
- [X] I agree to follow this project's code of conduct.
- [X] I have checked the current issues for duplicates.
- [X] I understand that AWX is open source software provided for free and that I might not receive a timely response.
Feature Summary
Currently we are receiving notifications like:
Job #69971 'Deploy: SDS TASK' failed: https://awx.my.domain/#/jobs/playbook/69971
it's good to add hostnames where the failure has been occured
Select the relevant components
- [ ] UI
- [ ] API
- [ ] Docs
- [ ] Collection
- [ ] CLI
- [X] Other
@AlekseiSaff can you clarify? Do you mean to include the execution node, or the hosts that are being automated against?
Sorry for the confusion. Hosts where task was failed
On Wed, Jul 20, 2022, 23:36 Jeff Bradberry @.***> wrote:
@AlekseiSaff https://github.com/AlekseiSaff can you clarify? Do you mean to include the execution node, or the hosts that are being automated against?
— Reply to this email directly, view it on GitHub https://github.com/ansible/awx/issues/12524#issuecomment-1190439604, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7UL7B4JCFHTAMHHVDYWT3VVAMITANCNFSM53UZO5SA . You are receiving this because you were mentioned.Message ID: @.***>
This doesnt seem like it would scale very well. What about scenarios where jobs talk to several thousand hosts?
understood that, but it should be an option in message template like {{ job_friendly_name }} #{{ job.id }} '{{ job.name }}' {{ job.status }}: {{ url }} on hosts {{ failed.hosts }}
for some jobs it's really good to see where they were exactly failed from slack or email without going to AWX
On Thu, Jul 21, 2022 at 12:25 AM Shane McDonald @.***> wrote:
This doesnt seem like it would scale very well. What about scenarios where jobs talk to several thousand hosts?
— Reply to this email directly, view it on GitHub https://github.com/ansible/awx/issues/12524#issuecomment-1190493876, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7UL7AGCJFZFEEYLTANSDDVVASARANCNFSM53UZO5SA . You are receiving this because you were mentioned.Message ID: @.***>
{{ failed.hosts }} is not working. Getting error **Failed to update notifier. Field 'failed' unavailable. **