openstack-zuul-jobs/roles/configure-unbound
Ian Wienand a282af81ac Use hostvars to get ansible_default_ipv6
I think this is missing picking this up from hostvars, so always
assumes ipv4.

Change-Id: I65929a87f864701ac07966a6b0d9ca9225da5145
2018-03-27 20:22:44 +11:00
..
defaults Add support for configuring TTLs in configure-unbound 2017-11-28 17:29:59 +00:00
handlers General improvements to configure-unbound role 2017-11-28 11:52:30 -05:00
tasks Use hostvars to get ansible_default_ipv6 2018-03-27 20:22:44 +11:00
templates Add support for configuring TTLs in configure-unbound 2017-11-28 17:29:59 +00:00
vars Add support for configuring TTLs in configure-unbound 2017-11-28 17:29:59 +00:00
README.rst Add support for configuring TTLs in configure-unbound 2017-11-28 17:29:59 +00: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