unbound: Add support for copying zone files

This commit is contained in:
Timo Makinen 2024-05-09 18:23:21 +00:00
parent 2329b5d5e6
commit 3b2c2a453e
11 changed files with 28 additions and 53 deletions

View file

@ -25,19 +25,6 @@
ansible.builtin.import_role:
name: dhcpd
- name: Copy DNS zone files
ansible.builtin.copy:
dest: "/var/lib/unbound/{{ item }}"
src: "/srv/dns/{{ item }}"
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
tags: dns
notify: Restart unbound
with_items:
- 24.20.172.in-addr.arpa
- print.foo.sh
- name: Install unbound role
ansible.builtin.import_role:
name: unbound