unbound(role): move resolvd vars to task
This commit is contained in:
parent
c051fc6337
commit
57ae1456a0
2 changed files with 4 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue