# Ansible 1.4 - names of NIC aliases

**URL:** <https://forum.ansible.com/t/ansible-1-4-names-of-nic-aliases/13994>\
**Category:** Ansible Project\
**Created:** [November 25, 2013, 4:11pm UTC](https://forum.ansible.com/t/ansible-1-4-names-of-nic-aliases/13994 "2013-11-25T16:11:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomasz\_Lesniewski](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@Tomasz\_Lesniewski](https://forum.ansible.com/u/Tomasz_Lesniewski)\
**Post date:** [November 25, 2013, 4:11pm UTC](https://forum.ansible.com/t/ansible-1-4-names-of-nic-aliases/13994/1 "2013-11-25T16:11:01Z")

</div>

Hi.

I’ve found that names of NIC aliases returned by setup module has changed in ansible 1.4:

$ ansible --version  
ansible 1.3.2

$ ansible foo -m setup | grep snat  
“ansible\_bond0:snat”: {  
“bond0:snat”,

$ ansible --version  
ansible 1.4 (release1.4.0 2a58c2bbe3) last updated 2013/11/25 10:56:50 (GMT +200)

$ ansible foo -m setup | grep snat  
“ansible\_bond0\_snat”: {  
“bond0\_snat”,

Is that desired behavior (and documented anywhere)?

Tomek

---

<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:** [November 25, 2013, 4:56pm UTC](https://forum.ansible.com/t/ansible-1-4-names-of-nic-aliases/13994/2 "2013-11-25T16:56:55Z")

</div>

Yes, it’s intended behavior.

A “:” is not valid in a Jinja2 variable name.

No, it’s not documented, because it was broken before, unless you went through hostvars you couldn’t get at it – which means most people wouldn’t know how to get at it.

---

<div class="post-metadata">

**Author:** ![Tomasz\_Lesniewski](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@Tomasz\_Lesniewski](https://forum.ansible.com/u/Tomasz_Lesniewski)\
**Post date:** [November 26, 2013, 9:35am UTC](https://forum.ansible.com/t/ansible-1-4-names-of-nic-aliases/13994/3 "2013-11-26T09:35:37Z")

</div>

Ok. Thanks for answer.

W dniu poniedziałek, 25 listopada 2013 17:11:01 UTC+1 użytkownik Tomasz Leśniewski napisał:
