# Notifications don't run if there's a failure

**URL:** <https://forum.ansible.com/t/notifications-dont-run-if-theres-a-failure/11983>\
**Category:** Ansible Project\
**Created:** [October 16, 2012, 1:45am UTC](https://forum.ansible.com/t/notifications-dont-run-if-theres-a-failure/11983 "2012-10-16T01:45:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Nottingham](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@Mark\_Nottingham](https://forum.ansible.com/u/Mark_Nottingham)\
**Post date:** [October 16, 2012, 1:45am UTC](https://forum.ansible.com/t/notifications-dont-run-if-theres-a-failure/11983/1 "2012-10-16T01:45:54Z")

</div>

I often see a notification not run because a subsequent task fails, bailing out everything else.

The problem is that on the next run, the notification isn’t triggered, because the task that generates it doesn’t change anything.

This comes up in testing more often than elsewhere.

Is there any way to make sure notifications run even if there’s a failing task?

Cheers,

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [October 16, 2012, 4:06am UTC](https://forum.ansible.com/t/notifications-dont-run-if-theres-a-failure/11983/2 "2012-10-16T04:06:54Z")

</div>

Asked for. Ticket exists to look at this for 0.9 …

---

<div class="post-metadata">

**Author:** ![Mark\_Nottingham](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@Mark\_Nottingham](https://forum.ansible.com/u/Mark_Nottingham)\
**Post date:** [October 17, 2012, 12:33am UTC](https://forum.ansible.com/t/notifications-dont-run-if-theres-a-failure/11983/3 "2012-10-17T00:33:27Z")

</div>

Thanks. Didn’t see a ticket in github – should I add one?

Cheers,

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [October 17, 2012, 1:25am UTC](https://forum.ansible.com/t/notifications-dont-run-if-theres-a-failure/11983/4 "2012-10-17T01:25:49Z")

</div>

Maybe just add comments to [https://github.com/ansible/ansible/issues/1312](https://github.com/ansible/ansible/issues/1312)

It's quasi related, but not 100%.

---

<div class="post-metadata">

**Author:** ![Mark\_Nottingham](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@Mark\_Nottingham](https://forum.ansible.com/u/Mark_Nottingham)\
**Post date:** [October 17, 2012, 1:38am UTC](https://forum.ansible.com/t/notifications-dont-run-if-theres-a-failure/11983/5 "2012-10-17T01:38:16Z")

</div>

Hmm, seemed quite different, so I opened [https://github.com/ansible/ansible/issues/1350](https://github.com/ansible/ansible/issues/1350).

Cheers,
