Add unbound to zm hosts
This commit is contained in:
parent
9cff4cae44
commit
525b3cbe99
2 changed files with 49 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue