Fix key filename on master ns
The keys should have a 'K' at the start. Change-Id: I873aed771448005877eb1fdf5dc739521bf39889
This commit is contained in:
parent
4fb2143f3c
commit
3bb6841b33
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user