25 lines
579 B
YAML
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"
|