# Handlers getting executed on ALL hosts in a group when only one member of the group matched conditional (Ansible 1.6)

**URL:** <https://forum.ansible.com/t/handlers-getting-executed-on-all-hosts-in-a-group-when-only-one-member-of-the-group-matched-conditional-ansible-1-6/17594>\
**Category:** Ansible Project\
**Created:** [February 22, 2015, 7:34pm UTC](https://forum.ansible.com/t/handlers-getting-executed-on-all-hosts-in-a-group-when-only-one-member-of-the-group-matched-conditional-ansible-1-6/17594 "2015-02-22T19:34:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Raider](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@Mark\_Raider](https://forum.ansible.com/u/Mark_Raider)\
**Post date:** [February 22, 2015, 7:34pm UTC](https://forum.ansible.com/t/handlers-getting-executed-on-all-hosts-in-a-group-when-only-one-member-of-the-group-matched-conditional-ansible-1-6/17594/1 "2015-02-22T19:34:47Z")

</div>

Does anyone know why handlers get executed on ALL members of a group when only one member met the conditional??? See below…

Here is the pastebin info \<\< sanitized\>\>

When I execute our top level playbook site.yml on a group that contains multiple hosts…even though only one host results in a “changed” status for the task…the handlers get executed on ALL members of the group

members of our\_group:

[host1.ourdomain.com](http://host1.ourdomain.com)  
[host2.ourdomain.com](http://host2.ourdomain.com)

top level playbook site.yml:

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [February 23, 2015, 12:26am UTC](https://forum.ansible.com/t/handlers-getting-executed-on-all-hosts-in-a-group-when-only-one-member-of-the-group-matched-conditional-ansible-1-6/17594/2 "2015-02-23T00:26:00Z")

</div>

I’d recommend upgrading to ansible 1.8.x.

I do remember such an issue in a previous release, but 1.6 is pretty old at this point.

---

<div class="post-metadata">

**Author:** ![Mark\_Raider](https://avatars.discourse-cdn.com/v4/letter/m/b3f665/32.png) [@Mark\_Raider](https://forum.ansible.com/u/Mark_Raider)\
**Post date:** [February 23, 2015, 5:32am UTC](https://forum.ansible.com/t/handlers-getting-executed-on-all-hosts-in-a-group-when-only-one-member-of-the-group-matched-conditional-ansible-1-6/17594/3 "2015-02-23T05:32:35Z")

</div>

Thank you for the information…yes…you are right. That was the issue. I updated our version to 1.8.2 and things are working as expected. Thanks so much!

Mark
