Add unbound to nms hosts
This commit is contained in:
parent
37bfd27551
commit
786b7f8549
4 changed files with 21 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue