From cb68b420ab34076f06a1ea6d8f5e5f5ae3daf5bc Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 3 Mar 2020 11:54:12 +0200 Subject: Fix: smarthost-client to install libsasl2-modules Without this, SASL for authenticating to the smarthost doesn't work with Postfix, it seems. --- ansible/roles/smarthost-client/tasks/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ansible/roles/smarthost-client') diff --git a/ansible/roles/smarthost-client/tasks/main.yml b/ansible/roles/smarthost-client/tasks/main.yml index 933251c..28480c1 100644 --- a/ansible/roles/smarthost-client/tasks/main.yml +++ b/ansible/roles/smarthost-client/tasks/main.yml @@ -1,8 +1,11 @@ # A mail client needs to send mail. I prefer to send via a local MTA, # which routes things out via a smarthost. -- name: install postfix - apt: name=postfix +- name: install postfix and related packages + apt: + name: + - postfix + - libsasl2-modules - name: configure postfix template: @@ -40,4 +43,3 @@ - name: run newaliases shell: newaliases - -- cgit v1.2.1