unbound/tasks/config.yaml
2025-10-24 22:03:31 +02:00

25 lines
579 B
YAML

---
# confiure unbound
- name: "config - unbound"
ansible.builtin.template:
src: "templates/unbound/unbound.conf.j2"
dest: "/etc/unbound/unbound.conf"
owner: "root"
group: "root"
mode: "0644"
notify:
- "restart unbound alpine"
- "restart unbound debian"
# configure unbound zones
- name: "config - unbound zones"
ansible.builtin.template:
src: "templates/unbound/zones.conf.j2"
dest: "/etc/unbound/zones.conf"
owner: "root"
group: "root"
mode: "0644"
notify:
- "restart unbound alpine"
- "restart unbound debian"