From 8070c0cf9aa181f98d52407f053b941f08c16613 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 1 Aug 2019 13:32:01 +0200 Subject: postfix-satellite: o Removing keys default_transport and relay_transport. o Moving postfix-satellite to its own file. --- ansible/plays/postfix-satellite.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ansible/plays/postfix-satellite.yml (limited to 'ansible/plays') diff --git a/ansible/plays/postfix-satellite.yml b/ansible/plays/postfix-satellite.yml new file mode 100644 index 0000000..af77d17 --- /dev/null +++ b/ansible/plays/postfix-satellite.yml @@ -0,0 +1,19 @@ +- hosts: + - all !knot + roles: + - postfix-satellite + vars: + username: "{{ ansible_hostname }}.trygvis.io" + postfix: + sasl_password: + - host: "[trygvis.io]:587" + username: "{{ username }}" + password: "{{ dovecot__passwords[username] }}" + + tasks: + - tags: postfix-satellite + become: yes + lineinfile: + dest: /etc/postfix/sasl_passwd + state: absent + regex: "^\\[knot.trygvis.io\\]" -- cgit v1.2.3