forked from infra/ansible
acme-dnskey-generate: handle empty san list
This commit is contained in:
parent
e5ca7f59db
commit
2abc3819ac
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user