add unbound_resolver role

This commit is contained in:
2025-05-28 11:15:47 +02:00
parent 6679277418
commit dd1900fffe
10 changed files with 275 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
---
- name: Daemon reload
ansible.builtin.systemd_service:
daemon_reload: true
- name: Restart unbound exporter
ansible.builtin.systemd_service:
name: unbound_exporter
state: restarted
- name: Reload Unbound
ansible.builtin.systemd_service:
name: unbound
state: reloaded