I am writing a playbook where I want to name a file including the ipaddress. However, my default ipv4 in the facts is empty, even though my interface is active and has a static ip. My target machine is CentOS 7.1, and my ansible version is 1.9.3.
"ansible_default_ipv4": {},
"ansible_default_ipv6": {
"address": "REDACTED",
"gateway": "REDACTED",
"interface": "enp5s0",
--break--
"ansible_enp5s0": {
"active": true,
"device": "enp5s0",
"ipv4": {
"address": "REDACTED",
"netmask": "255.255.255.0",
"network": "REDACTED"