Fix jinja2 syntax to expand a variable

This commit is contained in:
Jason Rothstein 2021-10-31 01:45:55 -05:00
parent 752468e5d9
commit e15987f2dc

View File

@ -22,12 +22,12 @@ character-set-server = utf8mb4
ssl-ca=/etc/pki/tls/certs/ca-bundle.crt
{% for certificate in certificates.files %}
{% if certificate.path is regex('/pubcert.pem$') %}
ssl-cert={% certificate.path %}
ssl-cert={{ certificate.path }}
{% endif %}
{% endfor %}
{% for certificate in certificates.files %}
{% if certificate.path is regex('/privkey.pem$') %}
ssl-key={% certificate.path %}
ssl-key={{ certificate.path }}
{% endif %}
{% endfor %}
tls-version=TLSv1.2,TLSv1.3