ansible-role-postfix/templates/postfix/conf.d/postscreen_access.j2
phil 8c79f8b687 Use Ansible defaults to insert comments
Enable vscodium code highlighting for some files
2024-03-27 17:39:16 +01:00

19 lines
534 B
Django/Jinja

{{ ansible_managed | comment }}
{% if postfix_default_postscreen_access is defined %}
{% for source in postfix_default_postscreen_access %}
{% if source.comment is defined %}
# {{ source.comment }}
{% endif %}
{{ "%-40s %s" | format(source.source, source.state) }}
{% endfor %}
{% endif %}
{% if postfix_postscreen_access is defined %}
{% for source in postfix_postscreen_access %}
{% if source.comment is defined %}
# {{ source.comment }}
{% endif %}
{{ "%-40s %s" | format(source.source, source.state) }}
{% endfor %}
{% endif %}