ansible-role-dbmail/templates/dbmail.conf.j2

21 lines
No EOL
695 B
Django/Jinja

# Configuration file for DBMAIL
# ATTENTION! This file is managed by ansible local changes might get changed
#
# Copyright (c) 2000-2006 IC&S, The Netherlands
# Copyright (c) 2004-2013 NFG Net Facilities Group BV support@nfg.nl
# Copyright (c) 2014-2019 Paul J Stevens, The Netherlands, support@nfg.nl
# Copyright (c) 2020-2022 Alan Hicks, Persistent Objects Ltd support@p-o.co.uk
#
{% for section_name, section_options in dbmail_configuration.items() %}
[{{ section_name }}]
{% for key, value in section_options.items() %}
{% if value == True %}
{{ key }} = yes
{% else %}{% if value == False%}
{{ key }} = no
{% else %}
{{ key }} = {{ value }}
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}