# Return of issue #13602: ansible runs setup for all plays when run with -t

**URL:** <https://forum.ansible.com/t/return-of-issue-13602-ansible-runs-setup-for-all-plays-when-run-with-t/22419>\
**Category:** Ansible Project\
**Created:** [August 30, 2016, 9:06am UTC](https://forum.ansible.com/t/return-of-issue-13602-ansible-runs-setup-for-all-plays-when-run-with-t/22419 "2016-08-30T09:06:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hagai\_Kariti](https://avatars.discourse-cdn.com/v4/letter/h/4491bb/32.png) [@Hagai\_Kariti](https://forum.ansible.com/u/Hagai_Kariti)\
**Post date:** [August 30, 2016, 9:06am UTC](https://forum.ansible.com/t/return-of-issue-13602-ansible-runs-setup-for-all-plays-when-run-with-t/22419/1 "2016-08-30T09:06:14Z")

</div>

Hi  
It seems that [https://github.com/ansible/ansible/issues/13602](https://github.com/ansible/ansible/issues/13602) is back in Ansible 2.1.1 and devel. Running ansible-playbook with -t will collect facts even if no task/role in the play is selected. This also happens with smart gathering, if the fact cache is expired. Example:

test.yml:

---

<div class="post-metadata">

**Author:** ![Aditya\_Menon](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@Aditya\_Menon](https://forum.ansible.com/u/Aditya_Menon)\
**Post date:** [September 14, 2016, 7:56am UTC](https://forum.ansible.com/t/return-of-issue-13602-ansible-runs-setup-for-all-plays-when-run-with-t/22419/2 "2016-09-14T07:56:38Z")

</div>

Hi,  
I believe there is a regression here in ansible 2.1.1.0. I’ll be reinstalling 1.9 again. Please let me know if there is a workaround or a fix for this planned as I want to use the new features of the latest ansible.

Thanks  
Aditya Menon
