# Gathering facts on Hosts with many many interfaces

**URL:** <https://forum.ansible.com/t/gathering-facts-on-hosts-with-many-many-interfaces/20020>\
**Category:** Ansible Project\
**Created:** [December 15, 2015, 3:31pm UTC](https://forum.ansible.com/t/gathering-facts-on-hosts-with-many-many-interfaces/20020 "2015-12-15T15:31:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Till\_Klocke](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@Till\_Klocke](https://forum.ansible.com/u/Till_Klocke)\
**Post date:** [December 15, 2015, 3:31pm UTC](https://forum.ansible.com/t/gathering-facts-on-hosts-with-many-many-interfaces/20020/1 "2015-12-15T15:31:45Z")

</div>

Hi everyone,

I am using Ansible for quite some time now and I like it very much. But now I ran into a Problem I can’t seem to solve by myself. In my current company we need to setup L2TP tunnels between WiFi Hotspts and out servers to tunnel traffic through them (to circumvent stupid german laws). But settings up a L2TP tunnel means that an interface is created for every tunnel.  
As a result we sometimes have servers with many hundred network interfaces. Gathering Facts on these systems takes forever, or at least too long to be usable. But we need to gather facts for our playbooks to work.  
Is it possible to somehow limit the collection of facts? In my case it would be enough to just noch collect interfaces which match a certain pattern. Or has anyone else encountered a similar situation and has any advice for me?

Thanks in advance.

Greetings,

Till

---

<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:** [December 15, 2015, 4:18pm UTC](https://forum.ansible.com/t/gathering-facts-on-hosts-with-many-many-interfaces/20020/2 "2015-12-15T16:18:08Z")

</div>

not yet, but it is comming [https://github.com/ansible/ansible/pull/13443](https://github.com/ansible/ansible/pull/13443)
