Files
ansible-pull/roles/nameserver/tasks/install_unbound.yml
2022-04-21 23:22:00 +02:00

14 lines
369 B
YAML

- name: nameserver | unbound | install packages
package:
name: "{{ unbound_package }}"
state: present
- name: nameserver | unbound | copy config
template:
src: "unbound_network.conf.j2"
dest: "/etc/unbound/unbound.conf.d/network.conf"
mode: "0644"
owner: "root"
group: "root"
verify: "unbound-checkconf %s"
notify: restart_unbound