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

12 lines
308 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"