unbound(role): move resolvd vars to task
Some checks failed
/ Ansible Lint (pull_request) Successful in 2m37s
/ build (pull_request) Failing after 2m40s
/ Ansible Lint (push) Successful in 2m21s

This commit is contained in:
bitwhisker 2026-05-26 10:43:56 +02:00
commit 57ae1456a0
Signed by: bitwhisker
SSH key fingerprint: SHA256:KybIk/tusSKao6eLGY+ILlFa1rCrzwx66/acBAcKUqE
2 changed files with 4 additions and 10 deletions

View file

@ -37,7 +37,10 @@
when: unbound_disable_systemd_networkd
ansible.builtin.include_role:
name: deploy_systemd_resolved_config
vars_from: deploy_systemd_resolved_config
vars:
deploy_systemd_resolved_config__enable: false
deploy_systemd_resolved_config__dns:
- 127.0.0.1
- name: install and configure prometheus-exporter for unbound
ansible.builtin.import_tasks: prometheus-exporter.yml

View file

@ -1,9 +0,0 @@
---
deploy_systemd_resolved_config__enable: false
deploy_systemd_resolved_config__dns:
- 127.0.0.1
deploy_systemd_resolved_config__fallback_dns: # Fux DNS Server
- 185.161.128.66
- 2a07:c481:0:4::2
- 185.161.128.67
- 2a07:c481:0:4::3