summaryrefslogtreecommitdiff
path: root/ansible/roles
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-08-02 09:24:16 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-08-08 09:03:13 +0200
commit86ed34fa46f389f346fd6cb1b26c60f0b9aece23 (patch)
tree4623802f3c037f7cbdbc093b8414f5dc8488f108 /ansible/roles
parent48ec7b841f853e4ffd8a82e61ed063fd8c5b2e87 (diff)
downloadinfra-86ed34fa46f389f346fd6cb1b26c60f0b9aece23.tar.gz
infra-86ed34fa46f389f346fd6cb1b26c60f0b9aece23.tar.bz2
infra-86ed34fa46f389f346fd6cb1b26c60f0b9aece23.tar.xz
infra-86ed34fa46f389f346fd6cb1b26c60f0b9aece23.zip
postfix-satellite: setting compatability_level=2.
Diffstat (limited to 'ansible/roles')
-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