Skip to content
Snippets Groups Projects
Verified Commit a5dc2a19 authored by David Mehren's avatar David Mehren
Browse files

Fix list generation in facts

parent 2f0f1796
No related branches found
No related tags found
No related merge requests found
Pipeline #124525 failed
--- ---
- name: Collect all extern certpaths - name: Collect all extern certpaths
ansible.builtin.set_fact: ansible.builtin.set_fact:
haproxy_wanted_certpaths: "{{ haproxy_wanted_certs }} + {{ (item.ssl | default([])).cert | default([]) }}" haproxy_wanted_certpaths: "{{ haproxy_wanted_certs + (item.ssl | default([])).cert | default([]) }}"
loop: "{{ haproxy_frontends }}" loop: "{{ haproxy_frontends }}"
when: haproxy_frontends is defined when: haproxy_frontends is defined
- name: Collect all LE certs - name: Collect all LE certs
ansible.builtin.set_fact: ansible.builtin.set_fact:
haproxy_wanted_acme_domains: "{{ haproxy_wanted_acme_domains }} + {{ (item.ssl | default([])).acme_domains | default([]) }}" haproxy_wanted_acme_domains: "{{ haproxy_wanted_acme_domains + (item.ssl | default([])).acme_domains | default([]) }}"
loop: "{{ haproxy_frontends }}" loop: "{{ haproxy_frontends }}"
when: haproxy_frontends is defined when: haproxy_frontends is defined
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment