letsencrypt: build txt record lists betterer

These list constructions look wrong, in hindsight I'm not really sure
how it works.  Ansible 6 seems to barf on it.  Make this one evaluated
statement.

Change-Id: I2a5d4926221f758501f95a8689e4304f814f405f
This commit is contained in:
Ian Wienand 2022-11-22 09:43:52 +11:00
parent fdb68ed81a
commit ac55e08d05
No known key found for this signature in database

View File

@ -4,7 +4,7 @@
- name: Build key list - name: Build key list
set_fact: set_fact:
acme_txt_keys: '{{ acme_txt_keys }} + {{ hostvars[item]["acme_txt_required"] | default([]) }}' acme_txt_keys: '{{ acme_txt_keys + hostvars[item]["acme_txt_required"]|default([]) }}'
with_inventory_hostnames: with_inventory_hostnames:
- letsencrypt:!disabled - letsencrypt:!disabled