diff --git a/playbooks/roles/master-nameserver/tasks/main.yaml b/playbooks/roles/master-nameserver/tasks/main.yaml index 87fc571dba..a248518bc0 100644 --- a/playbooks/roles/master-nameserver/tasks/main.yaml +++ b/playbooks/roles/master-nameserver/tasks/main.yaml @@ -49,13 +49,13 @@ - name: Install dnssec public keys loop: "{{ dnssec_keys | dict2items }}" copy: - dest: "/etc/bind/keys/{{ item.value.zone }}/{{ item.value.zone }}.+008+{{ item.key }}.key" + dest: "/etc/bind/keys/{{ item.value.zone }}/K{{ item.value.zone }}.+008+{{ item.key }}.key" content: "{{ item.value.public }}" - name: Install dnssec private keys no_log: true loop: "{{ dnssec_keys | dict2items }}" copy: - dest: "/etc/bind/keys/{{ item.value.zone }}/{{ item.value.zone }}.+008+{{ item.key }}.private" + dest: "/etc/bind/keys/{{ item.value.zone }}/K{{ item.value.zone }}.+008+{{ item.key }}.private" content: "{{ item.value.private }}" - name: Install bind config template: