Ansible Facts For Additional IP Address On the Interface

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?

You have forgotten ansible_ in front of the variable.