21 lines
492 B
YAML
21 lines
492 B
YAML
---
|
|
|
|
# configure 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"
|
|
|
|
# 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"
|