From 3bb6841b335354c99f741751fac87fa4a9d54efb Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 14 Nov 2018 10:39:57 +0100 Subject: [PATCH] Fix key filename on master ns The keys should have a 'K' at the start. Change-Id: I873aed771448005877eb1fdf5dc739521bf39889 --- playbooks/roles/master-nameserver/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: