diff options
author | Matthieu Saulnier <casper@casperlefantom.net> | 2019-09-28 19:54:32 +0200 |
---|---|---|
committer | Matthieu Saulnier <casper@casperlefantom.net> | 2019-09-28 19:54:32 +0200 |
commit | c547a3ce8a9bdc721ca313ae72f9ae887a0b099c (patch) | |
tree | e354d3bb05c1d0551fd738688363c3f211207dac /roles/dnsserver/tasks | |
parent | e585163c8b77390c5573fbf18ed2b4998d21c0d2 (diff) | |
download | playbooks-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.yml | 14 |
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 |