# How setup filter  of gathering fact work ?

**URL:** <https://forum.ansible.com/t/how-setup-filter-of-gathering-fact-work/23514>\
**Category:** Ansible Project\
**Created:** [January 20, 2017, 8:07am UTC](https://forum.ansible.com/t/how-setup-filter-of-gathering-fact-work/23514 "2017-01-20T08:07:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![web.cvcc](https://avatars.discourse-cdn.com/v4/letter/w/91b2a8/32.png) [@web.cvcc](https://forum.ansible.com/u/web.cvcc)\
**Post date:** [January 20, 2017, 8:07am UTC](https://forum.ansible.com/t/how-setup-filter-of-gathering-fact-work/23514/1 "2017-01-20T08:07:14Z")

</div>

Hi all

I have a poor performance environement and running setup on it get a lot of time.

I know i can disable gathering fact with **gather\_facts: False**

I’m trying this and it’s work fine

---

<div class="post-metadata">

**Author:** ![Johannes\_Kastl](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Post date:** [January 20, 2017, 1:15pm UTC](https://forum.ansible.com/t/how-setup-filter-of-gathering-fact-work/23514/2 "2017-01-20T13:15:12Z")

</div>

Maybe gather\_subset: "network" can help here, if you just want the ip  
address.

Johannes
