# \--tags doesn't work with meta: flush\_handlers

**URL:** <https://forum.ansible.com/t/tags-doesnt-work-with-meta-flush-handlers/18084>\
**Category:** Ansible Project\
**Created:** [April 24, 2015, 10:36pm UTC](https://forum.ansible.com/t/tags-doesnt-work-with-meta-flush-handlers/18084 "2015-04-24T22:36:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark5](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@Mark5](https://forum.ansible.com/u/Mark5)\
**Post date:** [April 24, 2015, 10:36pm UTC](https://forum.ansible.com/t/tags-doesnt-work-with-meta-flush-handlers/18084/1 "2015-04-24T22:36:32Z")

</div>

Setup:

— myrole/main.yml —

- include: somefile.yml  
tags: configure

----somefile.yml—

- some command  
notify: handlerx

- meta: flush\_handlers

— myrole/handlers/main.yml ----

- handlerx:   
tags: configure

Result:

- handlerx is not fired with the flush\_handlers meta command. The playbook is failing, so I can’t tell if the handlers get flushed at the end of it or not…

This used to work pre 1.9, in the 1.8.x build.

Anyone else see this behavior? Suggestions?

---

<div class="post-metadata">

**Author:** ![Mark5](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@Mark5](https://forum.ansible.com/u/Mark5)\
**Post date:** [April 24, 2015, 10:37pm UTC](https://forum.ansible.com/t/tags-doesnt-work-with-meta-flush-handlers/18084/2 "2015-04-24T22:37:05Z")

</div>

Also tried adding always tags to the handers, No change there.

---

<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:** [April 24, 2015, 11:20pm UTC](https://forum.ansible.com/t/tags-doesnt-work-with-meta-flush-handlers/18084/3 "2015-04-24T23:20:53Z")

</div>

You might want to check out: [https://github.com/ansible/ansible/issues/10758](https://github.com/ansible/ansible/issues/10758)

This issue was just fixed recently in devel.
