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
|
creates: /var/named/chroot/dev/zero
|
||||||
|
|
||||||
- name: copy rndc config
|
- name: copy rndc config
|
||||||
copy: src={{ item}} dest=/etc/
|
copy: src=rndc.conf dest=/etc/rndc.conf
|
||||||
with_items:
|
notify:
|
||||||
- rndc.conf
|
- restart named
|
||||||
- rndc.key
|
tags:
|
||||||
|
- config
|
||||||
|
|
||||||
|
- name: copy rndc key
|
||||||
|
copy: src={{ private }}/files/dns/rndc.key dest=/etc/rndc.key
|
||||||
notify:
|
notify:
|
||||||
- restart named
|
- restart named
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue