Ian Wienand d05b4fa33e unbound: Add check for undefined default_ipv6
It turns out ansible_default_ipv6 can be undefined without ipv6.
Combine the checks into a separte fact.

Change-Id: I96b0fd98db01b183946403a744ff2e8d2ae422d8
2017-10-13 10:56:40 +11:00
..
2017-10-11 10:20:16 +11:00
2017-10-11 10:20:16 +11:00
2017-10-11 10:20:16 +11:00

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