Files
ansible-pull/roles/nameserver/tasks/install_unbound.yml
2022-03-23 19:47:54 +01:00

13 lines
334 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"
notify: restart_unbound