# Should --tags work for playbooks?

**URL:** <https://forum.ansible.com/t/should-tags-work-for-playbooks/18648>\
**Category:** Ansible Project\
**Created:** [July 1, 2015, 7:46am UTC](https://forum.ansible.com/t/should-tags-work-for-playbooks/18648 "2015-07-01T07:46:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barry\_Kaplan](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Post date:** [July 1, 2015, 7:46am UTC](https://forum.ansible.com/t/should-tags-work-for-playbooks/18648/1 "2015-07-01T07:46:57Z")

</div>

I have:

`

---

<div class="post-metadata">

**Author:** ![Barry\_Kaplan](https://avatars.discourse-cdn.com/v4/letter/b/48db29/32.png) [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Post date:** [July 1, 2015, 7:54am UTC](https://forum.ansible.com/t/should-tags-work-for-playbooks/18648/2 "2015-07-01T07:54:48Z")

</div>

Very interesting. My tasks were wrong:

tasks:  
set\_fact:

vs

tasks:

- set\_fact:

No errors so it looked like the tags were being ignored. Correctly task syntax and tags are not ignored.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [July 1, 2015, 2:56pm UTC](https://forum.ansible.com/t/should-tags-work-for-playbooks/18648/3 "2015-07-01T14:56:54Z")

</div>

tags on plays should be applied to all tasks in the play, but the play  
itself should not be skipped.
