Add unbound for print hosts

This commit is contained in:
Timo Makinen 2021-03-25 17:40:49 +00:00
parent 32bcba70cb
commit 37bfd27551
3 changed files with 19 additions and 0 deletions

View file

@ -18,3 +18,18 @@
principals:
- "HTTP/print.foo.sh@{{ kerberos_realm }}"
- cups/server
tasks:
- 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:
- 24.20.172.in-addr.arpa
- print.foo.sh
- import_role:
name: unbound