fix: jinja indentation error
This commit is contained in:
parent
62f3233fd8
commit
39ebf1b656
1 changed files with 6 additions and 6 deletions
|
@ -13,21 +13,21 @@ shutdown_timeout: {{ postfix_mtastsresolver_shutdown_timeout }}
|
|||
cache:
|
||||
type: "{{ postfix_mtastsresolver_cache_type }}"
|
||||
options:
|
||||
{%- if postfix_mtastsresolver_cache_type == 'internal' %}
|
||||
{% if postfix_mtastsresolver_cache_type == 'internal' %}
|
||||
cache_size: {{ postfix_mtastsresolver_cache_internal_size }}
|
||||
{%- elif postfix_mtastsresolver_cache_type == 'sqlite' %}
|
||||
{% elif postfix_mtastsresolver_cache_type == 'sqlite' %}
|
||||
filename: "{{ postfix_mtastsresolver_cache_sqlite_filename }}"
|
||||
threads: {{ postfix_mtastsresolver_cache_sqlite_threads }}
|
||||
timeout: {{ postfix_mtastsresolver_cache_sqlite_timeout }}
|
||||
{%- elif postfix_mtastsresolver_cache_type == 'redis' %}
|
||||
{% elif postfix_mtastsresolver_cache_type == 'redis' %}
|
||||
{{ postfix_mtastsresolver_cache_redis_options | to_yaml(indent=2) | indent(4) }}
|
||||
{%- endif %}
|
||||
{% endif -%}
|
||||
default_zone:
|
||||
strict_testing: {{ postfix_mtastsresolver_defaultzone_stricttesting | ternary('true', 'false') }}
|
||||
timeout: {{ postfix_mtastsresolver_defaultzone_timeout }}
|
||||
zones:
|
||||
{%- for zone, options in postfix_mtastsresolver_zones.items() %}
|
||||
{% for zone, options in postfix_mtastsresolver_zones.items() %}
|
||||
{{ zone }}:
|
||||
strict_testing: {{ options.strict_testing | default(postfix_mtastsresolver_defaultzone_stricttesting) | ternary('true', 'false') }}
|
||||
timeout: {{ options.timeout | default(postfix_mtastsresolver_defaultzone_timeout) }}
|
||||
{%- endfor %}
|
||||
{% endfor -%}
|
||||
|
|
Loading…
Add table
Reference in a new issue