rndc.key is private
This commit is contained in:
parent
250df479d5
commit
7411f8f43b
1 changed files with 8 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue