# Ansible Facts For Additional IP Address On the Interface

**URL:** <https://forum.ansible.com/t/ansible-facts-for-additional-ip-address-on-the-interface/22513>\
**Category:** Ansible Project\
**Created:** [September 8, 2016, 5:07pm UTC](https://forum.ansible.com/t/ansible-facts-for-additional-ip-address-on-the-interface/22513 "2016-09-08T17:07:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janis\_Orlovs](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@Janis\_Orlovs](https://forum.ansible.com/u/Janis_Orlovs)\
**Post date:** [September 8, 2016, 5:07pm UTC](https://forum.ansible.com/t/ansible-facts-for-additional-ip-address-on-the-interface/22513/1 "2016-09-08T17:07:12Z")

</div>

Hello,

I’m strugling with the additional IP address fact for Ansible

```auto
"ansible_eth0_1": {
    "active": true, 
    "device": "eth0_1", 
    "ipv4": {
        "address": "192.168.10.2", 

```

Playbook says that eth0\_1.ipv4.address is undefined variable.

What you can suggest for these variables?

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [September 8, 2016, 6:34pm UTC](https://forum.ansible.com/t/ansible-facts-for-additional-ip-address-on-the-interface/22513/2 "2016-09-08T18:34:21Z")

</div>

You have forgotten ansible\_ in front of the variable.
