7bd42d37c4
Several things have bit rotted in here that we need to take care of. First is that we updated the default nodeset to Noble which breaks our ability to install Pillow<10 for blockdiag. To fix this we need to install libjpeg-dev so that we can build a Pillow wheel locally during testing. Next old ansible-lint doesn't run on Noble's python3.12. We bump up Ansible lint to a modern version that matches Zuul's current default Ansible. We also stop installing zuul to get zuul_console and zuul_return and instead simply mock them in the linter. To make this work we have to drop the ansible-playbook syntax check run which is fine because ansible-lint runs this too, but when done via ansible-lint the mocked modules are respected [0]. Finally we have to clean up/ignore some of the new linter warnings/errors. [0] https://ansible.readthedocs.io/projects/lint/rules/syntax-check/ Change-Id: Ia0e936fefc9e2b0f2fa614c93a2f168e14b2825b |
||
---|---|---|
.. | ||
defaults | ||
handlers | ||
tasks | ||
templates | ||
vars | ||
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