Ansible Facts For Additional IP Address On the Interface

202 views
Skip to first unread message

Janis Orlovs

unread,
Sep 8, 2016, 1:08:12 PM9/8/16
to Ansible Project
Hello,

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


"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?

Kai Stian Olstad

unread,
Sep 8, 2016, 2:35:02 PM9/8/16
to ansible...@googlegroups.com
You have forgotten ansible_ in front of the variable.

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages