fix: jinja

This commit is contained in:
s3lph 2023-07-16 23:55:06 +02:00
parent 39ebf1b656
commit dfe0dcd88c

View file

@ -25,7 +25,7 @@ cache:
default_zone:
strict_testing: {{ postfix_mtastsresolver_defaultzone_stricttesting | ternary('true', 'false') }}
timeout: {{ postfix_mtastsresolver_defaultzone_timeout }}
zones:
zones:{% if postfix_mtastsresolver_zones | length == 0 %} {}{% endif %}
{% for zone, options in postfix_mtastsresolver_zones.items() %}
{{ zone }}:
strict_testing: {{ options.strict_testing | default(postfix_mtastsresolver_defaultzone_stricttesting) | ternary('true', 'false') }}