summaryrefslogtreecommitdiffstats
path: root/roles/dnsserver/tasks
diff options
context:
space:
mode:
authorMatthieu Saulnier <casper@casperlefantom.net>2019-09-28 19:54:32 +0200
committerMatthieu Saulnier <casper@casperlefantom.net>2019-09-28 19:54:32 +0200
commitc547a3ce8a9bdc721ca313ae72f9ae887a0b099c (patch)
treee354d3bb05c1d0551fd738688363c3f211207dac /roles/dnsserver/tasks
parente585163c8b77390c5573fbf18ed2b4998d21c0d2 (diff)
downloadplaybooks-ansible-c547a3ce8a9bdc721ca313ae72f9ae887a0b099c.tar.gz
playbooks-ansible-c547a3ce8a9bdc721ca313ae72f9ae887a0b099c.tar.xz
playbooks-ansible-c547a3ce8a9bdc721ca313ae72f9ae887a0b099c.zip
Add the DNSSEC feature
Diffstat (limited to 'roles/dnsserver/tasks')
-rw-r--r--roles/dnsserver/tasks/config.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/dnsserver/tasks/config.yml b/roles/dnsserver/tasks/config.yml
index 9878bbb..85ab046 100644
--- a/roles/dnsserver/tasks/config.yml
+++ b/roles/dnsserver/tasks/config.yml
@@ -6,6 +6,7 @@
group: named
mode: 0640
notify: restart named
+ tags: keys
- name: Configuration de rndc
template:
@@ -25,3 +26,16 @@
when: dnsslavelist is defined
notify: reload named
with_items: "{{ zonelist }}"
+ tags: keys
+
+- name: Installation des fichiers de zone signées
+ copy:
+ src: "signatures/{{ item }}.zone.signed"
+ dest: /var/named/
+ owner: root
+ group: named
+ mode: 0640
+ when: dnsslavelist is defined
+ notify: reload named
+ with_items: "{{ zonelist }}"
+ tags: keys