diff --git a/playbooks/roles/letsencrypt-install-txt-record/tasks/main.yaml b/playbooks/roles/letsencrypt-install-txt-record/tasks/main.yaml index db77d5dd8d..fb3d514abe 100644 --- a/playbooks/roles/letsencrypt-install-txt-record/tasks/main.yaml +++ b/playbooks/roles/letsencrypt-install-txt-record/tasks/main.yaml @@ -5,7 +5,8 @@ - name: Build key list set_fact: acme_txt_keys: '{{ acme_txt_keys }} + {{ hostvars[item]["acme_txt_required"] }}' - with_inventory_hostnames: letsencrypt + with_inventory_hostnames: + - letsencrypt:!disabled - name: Final list debug: