Add unbound to nms hosts

This commit is contained in:
Timo Makinen 2021-03-25 17:41:25 +00:00
parent 37bfd27551
commit 786b7f8549
4 changed files with 21 additions and 0 deletions

View file

@ -36,6 +36,20 @@
vars:
relay_domains: [foo.sh]
- 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:
- 25.20.172.in-addr.arpa
- oob.foo.sh
- import_role:
name: unbound
# convert this to role for restart support
- name: enable ntp server for oob network
lineinfile:
@ -55,3 +69,4 @@
- sslscan
- unzip
- wget
state: installed