Browse Source

Don't log the public loop on master-nameserver

The dict is the same as for the private loop, and while we're not
writing the private date, we are iterating over it which causes
it to be printed to the log.

Change-Id: I42069f15e59a8615b41082dce1440ae7c51b8260
changes/59/718559/1
Monty Taylor 2 years ago
parent
commit
1ba4559fd8
  1. 1
      playbooks/roles/master-nameserver/tasks/main.yaml

1
playbooks/roles/master-nameserver/tasks/main.yaml

@ -56,6 +56,7 @@
mode: 0750
- name: Install dnssec public keys
loop: "{{ dnssec_keys | dict2items }}"
no_log: true
copy:
dest: "/etc/bind/keys/{{ item.value.zone }}/K{{ item.value.zone }}.+008+{{ item.key }}.key"
content: "{{ item.value.public }}"

Loading…
Cancel
Save