# Network interface information

**URL:** <https://forum.ansible.com/t/network-interface-information/12496>\
**Category:** Ansible Project\
**Created:** [March 13, 2013, 9:56pm UTC](https://forum.ansible.com/t/network-interface-information/12496 "2013-03-13T21:56:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![C\_Morgan\_Hamill](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Post date:** [March 13, 2013, 9:56pm UTC](https://forum.ansible.com/t/network-interface-information/12496/1 "2013-03-13T21:56:17Z")

</div>

Howdy,

I’ve stumbled across this old-ish Github issue: [https://github.com/ansible/ansible/issues/1001](https://github.com/ansible/ansible/issues/1001)

The information described there is something I’d really like to have access to through ansible,  
and the issue’s page seems to imply that some patches to gather information on inactive and  
bonded interfaces were added to the setup module at some point.

This doesn’t _actually_ seem to be the case — the setup module discards information on  
interfaces without an IP address. Am I missing something obvious? And if I’m correct that the  
setup module as it exists now doesn’t return that information, is there a reason?

If the only reason is that no one ever bothered writing the patches, I’ll go ahead and do it. I just  
want to make sure I’m not wasting my time before hand.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Ritcey](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@Benjamin\_Ritcey](https://forum.ansible.com/u/Benjamin_Ritcey)\
**Post date:** [March 19, 2013, 7:39pm UTC](https://forum.ansible.com/t/network-interface-information/12496/2 "2013-03-19T19:39:36Z")

</div>

I’d ping them via the issue - looks like Dag has the patches sitting around somewhere

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [March 19, 2013, 9:56pm UTC](https://forum.ansible.com/t/network-interface-information/12496/3 "2013-03-19T21:56:22Z")

</div>

I'm totally open to this, provided nothing changes in a way that is  
backward incompatible.

Would be great to have.

---

<div class="post-metadata">

**Author:** ![Benjamin\_Ritcey](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@Benjamin\_Ritcey](https://forum.ansible.com/u/Benjamin_Ritcey)\
**Post date:** [March 19, 2013, 11:01pm UTC](https://forum.ansible.com/t/network-interface-information/12496/4 "2013-03-19T23:01:48Z")

</div>

I updated the issue - hopefully Dag still has the patches handy.
