base-jobs/roles/configure-unbound
Clark Boylan 7d5673f6db Only use ipv6 dns if nodepool uses ipv6
We think we have growing pains in some clouds where ipv6 is available
but we want to force the instances to use ipv4 dns anyway. We can do
this by telling nodepool to use ipv4 for the instance ip which we can
then check in our role to configure unbound.

Do this to rule out ipv6 as a problem in these clouds.

Change-Id: I354015df64032e70422231f1105807f024fe2393
2019-05-14 15:38:22 -07:00
..
defaults Switch from 1.1.1.1 to 1.0.0.1 2019-04-25 13:20:12 +00:00
handlers Initial pass at global opendev base job set 2019-01-28 13:59:24 -08:00
tasks Only use ipv6 dns if nodepool uses ipv6 2019-05-14 15:38:22 -07:00
templates Initial pass at global opendev base job set 2019-01-28 13:59:24 -08:00
vars Initial pass at global opendev base job set 2019-01-28 13:59:24 -08:00
README.rst Switch from 1.1.1.1 to 1.0.0.1 2019-04-25 13:20:12 +00:00

README.rst

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