initial upload
This commit is contained in:
13
roles/postfix/templates/etc_postfix_main.cf.j2
Normal file
13
roles/postfix/templates/etc_postfix_main.cf.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
|
||||
|
||||
{% for key, value in postfix_settings | dictsort %}
|
||||
{% if value is sequence and value is not string %}
|
||||
{{ key }} = {{ value | flatten | join(",\n\t") }}
|
||||
{% elif value is sameas true or value is sameas false %}
|
||||
{{ key }} = {{ 'yes' if value else 'no' }}
|
||||
{% else %}
|
||||
{{ key }} = {{ value }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user