
It turns out ansible_default_ipv6 can be undefined without ipv6. Combine the checks into a separte fact. Change-Id: I96b0fd98db01b183946403a744ff2e8d2ae422d8
An ansible role to dynamically configure DNS forwarders for the
unbound
caching service. IPv6 will be preferred when there
is a usable IPv6 default route, otherwise IPv4.
Note
This is not a standalone unbound configuration role. Base setup is
done during image builds in
project-config:nodepool/elements/nodepool-base/finalise.d/89-unbound
;
here we just do dynamic configuration of forwarders based on the
interfaces available on the actual host.
Role Variables
The primary IPv4 nameserver for fowarding requests
The primary IPv6 nameserver for fowarding requests
The secondary IPv4 nameserver for fowarding requests
The seconary IPv6 nameserver for fowarding requests