acme-dnskey-generate: handle empty san list

This commit is contained in:
Markus 2019-05-13 21:00:50 +02:00
parent e5ca7f59db
commit 2abc3819ac

View File

@ -17,7 +17,7 @@
lineinfile:
path: "/etc/powerdns/updatepolicy.aliases"
line: 'alias["{{ inventory_hostname }}."]["{{ item }}."] = "{{ item }}."'
loop: "{{ acme_dnskey_san_domains }}"
loop: "{{ acme_dnskey_san_domains|default([]) }}"
delegate_to: "{{ acme_dnskey_server }}"
- name: Generate nsupdate.key