Fixes and Typos

This commit is contained in:
phil 2023-04-19 12:56:49 +02:00
parent 8df0ffd7e2
commit ad563c8881
7 changed files with 9 additions and 7 deletions

View file

@ -5,6 +5,7 @@
dest: /etc/postfix/main.cf dest: /etc/postfix/main.cf
mode: "0644" mode: "0644"
notify: reload postfix notify: reload postfix
tags: maincf
- name: "Postfix | Copy master.cf" - name: "Postfix | Copy master.cf"
ansible.builtin.template: ansible.builtin.template:
@ -12,6 +13,7 @@
dest: /etc/postfix/master.cf dest: /etc/postfix/master.cf
mode: "0644" mode: "0644"
notify: restart postfix notify: restart postfix
tags: mastercf
- name: "Postfix | Create configuration directory" - name: "Postfix | Create configuration directory"
ansible.builtin.file: ansible.builtin.file:

View file

@ -1,4 +1,4 @@
### {{ managed_by_ansible }} ### {{ ansible_managed }}
{% if postfix_bogus_mx is defined %} {% if postfix_bogus_mx is defined %}
{% for mx in postfix_bogus_mx %} {% for mx in postfix_bogus_mx %}

View file

@ -1,4 +1,4 @@
### {{ managed_by_ansible }} ### {{ ansible_managed }}
{% if postfix_canonical_maps is defined %} {% if postfix_canonical_maps is defined %}
{% for map in postfix_canonical_maps %} {% for map in postfix_canonical_maps %}

View file

@ -1,4 +1,4 @@
### {{ managed_by_ansible }} ### {{ ansible_managed }}
{% if postfix_sender_canonical_maps is defined %} {% if postfix_sender_canonical_maps is defined %}
{% for map in postfix_sender_canonical_maps %} {% for map in postfix_sender_canonical_maps %}

View file

@ -1,4 +1,4 @@
# {{ ansible_managed }} ### {{ ansible_managed }}
# Example # Example
# #

View file

@ -1,4 +1,4 @@
# {{ ansible_managed }} ### {{ ansible_managed }}
{% if postfix_domains is defined %} {% if postfix_domains is defined %}
{% for domain in postfix_domains %} {% for domain in postfix_domains %}

View file

@ -116,7 +116,7 @@ transport_maps =
{% endfor %} {% endfor %}
{% endif %} {% endif %}
relayhost: {{ postfix_relayhost}} relayhost = {{ postfix_relayhost}}
{% if postfix_canonical_maps is defined %} {% if postfix_canonical_maps is defined %}
canonical_maps = canonical_maps =
@ -137,7 +137,7 @@ sender_canonical_maps =
# Prevents delays caused by NIS queries # Prevents delays caused by NIS queries
{% endif %} {% endif %}
alias_maps = alias_maps =
{% for map in postfix_alias_map %} {% for map in postfix_alias_maps %}
{{ map.type }}:{{ map.path }} {{ map.type }}:{{ map.path }}
{% endfor %} {% endfor %}