aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/postfix-satellite/tasks/postfix-satellite.yml')
-rw-r--r--ansible/roles/postfix-satellite/tasks/postfix-satellite.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml b/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml
index 2303523..1939b57 100644
--- a/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml
+++ b/ansible/roles/postfix-satellite/tasks/postfix-satellite.yml
@@ -15,7 +15,7 @@
lineinfile:
dest: /etc/postfix/main.cf
line: "{{ (item.key + ' = ' + item.value) if state=='present' else None }}"
- regexp: "^{{ item.key }} ="
+ regexp: "^{{ item.key }}"
state: "{{ state }}"
vars:
state: "{{ item.state|default('present') }}"
@@ -48,6 +48,8 @@
state: absent
- key: "relay_transport"
state: absent
+ - key: "compatibility_level"
+ value: "2"
- name: Create /etc/postfix/sasl_passwd
tags: postfix-satellite-config