# Not Working As Expected: main.yml - include something.yml tags=something

**URL:** <https://forum.ansible.com/t/not-working-as-expected-main-yml-include-something-yml-tags-something/21331>\
**Category:** Ansible Project\
**Created:** [May 2, 2016, 3:42pm UTC](https://forum.ansible.com/t/not-working-as-expected-main-yml-include-something-yml-tags-something/21331 "2016-05-02T15:42:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacob1](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@Jacob1](https://forum.ansible.com/u/Jacob1)\
**Post date:** [May 2, 2016, 3:42pm UTC](https://forum.ansible.com/t/not-working-as-expected-main-yml-include-something-yml-tags-something/21331/1 "2016-05-02T15:42:24Z")

</div>

Hello,

I’m writing a new playbook and executing it using ansible 2.1.0. It appears the tags I define in main.yml on an include line are being ignored. By comparison, this works as expected in ansible 1.9.2

Example:

roles/common/tasks/main.yml:

---

<div class="post-metadata">

**Author:** ![Jacob1](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@Jacob1](https://forum.ansible.com/u/Jacob1)\
**Post date:** [May 2, 2016, 9:06pm UTC](https://forum.ansible.com/t/not-working-as-expected-main-yml-include-something-yml-tags-something/21331/2 "2016-05-02T21:06:02Z")

</div>

I found the solution here: [http://docs.ansible.com/ansible/playbooks\_tags.html](http://docs.ansible.com/ansible/playbooks_tags.html)

The syntax in this case that works for me is:

- include: something.yml  
tags: something
