Ansible does not seem to be setting a fact for the broadcast address on eth0 when pulling facts from a mint 16 linux host.
It gets a lot of other stuff: EG
},
“ansible_default_ipv4”: {
“address”: “10.25.26.2”,
“alias”: “eth0”,
“gateway”: “10.25.26.1”,
“interface”: “eth0”,
“macaddress”: “f8:b1:56:cb:3e:47”,
“mtu”: 1500,
“netmask”: “255.255.254.0”,
“network”: “10.25.26.0”,
“type”: “ether”
},
Why no broadcast address?
I know I can compute the broadcast address from the netmask and network entries, but that seems rather difficult. In fact, I cannot work out how to do it without a callout to a local script.
Any ideas welcome on either solution really.
BTW, new ansible user here.