Gathering facts on Hosts with many many interfaces

37 views
Skip to first unread message

Till Klocke

unread,
Dec 15, 2015, 11:04:06 AM12/15/15
to Ansible Project
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

Brian Coca

unread,
Dec 15, 2015, 11:18:13 AM12/15/15
to Ansible Project
not yet, but it is comming https://github.com/ansible/ansible/pull/13443
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/ec9bd417-1505-45fc-ab40-cb23245a84a1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Brian Coca
Reply all
Reply to author
Forward
0 new messages