|
|
@ -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 %} |
|
|
@ -39,10 +39,13 @@ |
|
|
|
{% if turn_letsencrypt_cert is defined and turn_letsencrypt_cert not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
{% if turn_letsencrypt_cert is defined and turn_letsencrypt_cert not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
{{ turn_letsencrypt_cert }} |
|
|
|
{{ turn_letsencrypt_cert }} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% if rabbitmq_letsencrypt_cert is defined %} |
|
|
|
{% if rabbitmq_letsencrypt_cert is defined and rabbitmq_letsencrypt_cert != False %} |
|
|
|
{% if rabbitmq_letsencrypt_cert is string and rabbitmq_letsencrypt_cert not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
{% if rabbitmq_letsencrypt_cert is string and rabbitmq_letsencrypt_cert not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
{{ rabbitmq_letsencrypt_cert }} |
|
|
|
{{ rabbitmq_letsencrypt_cert }} |
|
|
|
{% elif rabbitmq_letsencrypt_cert == True and inventory_hostname not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
{% elif rabbitmq_letsencrypt_cert == True and inventory_hostname not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
{{ inventory_hostname }} |
|
|
|
{{ inventory_hostname }} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
{% if pbs_letsencrypt_cert is defined and pbs_letsencrypt_cert not in letsencrypt_certs | default([]) | map(attribute='common_name') %} |
|
|
|
|
|
|
|
{{ pbs_letsencrypt_cert }} |
|
|
|
|
|
|
|
{% endif %} |
|
|
|