rndc.key is private

This commit is contained in:
Patrick Uiterwijk 2014-12-07 00:14:39 +00:00
parent 250df479d5
commit 7411f8f43b

View file

@ -42,10 +42,14 @@
creates: /var/named/chroot/dev/zero
- name: copy rndc config
copy: src={{ item}} dest=/etc/
with_items:
- rndc.conf
- rndc.key
copy: src=rndc.conf dest=/etc/rndc.conf
notify:
- restart named
tags:
- config
- name: copy rndc key
copy: src={{ private }}/files/dns/rndc.key dest=/etc/rndc.key
notify:
- restart named
tags: