Add unbound to zm hosts

This commit is contained in:
Timo Makinen 2021-04-01 22:46:01 +00:00
parent 9cff4cae44
commit 525b3cbe99
2 changed files with 49 additions and 0 deletions

View file

@ -55,3 +55,17 @@
path: /etc/chrony.conf
regexp: "^#?allow .*"
line: "allow 172.20.26.0/24"
- name: copy dns zone files
copy:
dest: "/var/lib/unbound/{{ item }}"
src: "/srv/dns/{{ item }}"
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
notify: restart unbound
with_items:
- 26.20.172.in-addr.arpa
- cam.foo.sh
- import_role:
name: unbound