|
|
@ -1,4 +1,4 @@ |
|
|
|
{#{% for cert in letsencrypt_certs | default([]) %} |
|
|
|
{% for cert in letsencrypt_certs | default([]) %} |
|
|
|
{{ cert.common_name }} {{ cert.alt_names | default([]) | join(' ') }} |
|
|
|
{{ cert.common_name }} {{ cert.alt_names | default([]) | join(' ') }} |
|
|
|
{% endfor %} |
|
|
|
{% endfor %} |
|
|
|
{% if nginx_auto_letsencrypt_cert is defined and nginx_auto_letsencrypt_cert and nginx_vhosts is defined %} |
|
|
|
{% if nginx_auto_letsencrypt_cert is defined and nginx_auto_letsencrypt_cert and nginx_vhosts is defined %} |
|
|
@ -23,7 +23,7 @@ |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if graylog_letsencrypt_cert is defined and graylog_letsencrypt_cert not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
{% if graylog_letsencrypt_cert is defined and graylog_letsencrypt_cert not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
{{ graylog_letsencrypt_cert }} |
|
|
|
{{ graylog_letsencrypt_cert }} |
|
|
|
{% endif %} #} |
|
|
|
{% endif %} |
|
|
|
{% if zcs_letsencrypt is defined and zcs_letsencrypt and inventory_hostname not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
{% if zcs_letsencrypt is defined and zcs_letsencrypt and inventory_hostname not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
{{ inventory_hostname }} {{ zcs_vhosts | default([]) | join(' ') }} |
|
|
|
{{ inventory_hostname }} {{ zcs_vhosts | default([]) | join(' ') }} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|