unbound(role): fix some unbound setup stuff

This commit is contained in:
bitwhisker 2026-07-31 17:59:35 +02:00
commit 6aae94b156
Signed by: bitwhisker
SSH key fingerprint: SHA256:KybIk/tusSKao6eLGY+ILlFa1rCrzwx66/acBAcKUqE
2 changed files with 8 additions and 0 deletions

View file

@ -16,3 +16,8 @@
name: prometheus-unbound-exporter.service
state: restarted
enabled: true
- name: systemd-daemon-reload
become: true
ansible.builtin.systemd_service:
daemon_reload: true

View file

@ -40,6 +40,9 @@
deploy_systemd_resolved_config__dns:
- 127.0.0.1
- name: flush handlers
ansible.builtin.meta: flush_handlers
- name: ensure unbound is running and enabled
become: true
ansible.builtin.systemd: