Update to 2022-02-24 11:00

This commit is contained in:
Daniel Berteaud 2022-02-24 11:00:05 +01:00
parent 60c1fefb94
commit b9773a59eb
3 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,7 @@ if [ $1 == "{{ fpbx_letsencrypt_cert }}" ]; then
if [ $(fwconsole list | grep -c certificates) == 1 ]; then if [ $(fwconsole list | grep -c certificates) == 1 ]; then
fwconsole certificates --import fwconsole certificates --import
fi fi
asterisk -R 'core restart gracefully' asterisk -rx 'core restart gracefully'
fi fi
{% else %} {% else %}

View File

@ -39,3 +39,6 @@
{% if pbs_letsencrypt_cert is defined and pbs_letsencrypt_cert not in letsencrypt_certs | default([]) | map(attribute='common_name') %} {% if pbs_letsencrypt_cert is defined and pbs_letsencrypt_cert not in letsencrypt_certs | default([]) | map(attribute='common_name') %}
{{ pbs_letsencrypt_cert }} {{ pbs_letsencrypt_cert }}
{% endif %} {% endif %}
{% if fpbx_letsencrypt_cert is defined and fpbx_letsencrypt_cert is string and fpbx_letsencrypt_cert not in letsencrypt_certs | default([]) | map(attribute='common_name') %}
{{ fpbx_letsencrypt_cert }}
{% endif %}

View File

@ -1,2 +1,2 @@
--- ---
ast_version: 17 ast_version: 18