summaryrefslogtreecommitdiff
path: root/ansible/roles/smarthost-client
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-03-03 11:54:12 +0200
committerLars Wirzenius <liw@liw.fi>2020-03-03 11:54:12 +0200
commitcb68b420ab34076f06a1ea6d8f5e5f5ae3daf5bc (patch)
treed083b86a949b4960f4756ada78187b47f792c981 /ansible/roles/smarthost-client
parentb05015e4bf0d7cfbabf2d3c3ba08b5a471d307f4 (diff)
downloadansibleness-cb68b420ab34076f06a1ea6d8f5e5f5ae3daf5bc.tar.gz
Fix: smarthost-client to install libsasl2-modules
Without this, SASL for authenticating to the smarthost doesn't work with Postfix, it seems.
Diffstat (limited to 'ansible/roles/smarthost-client')
-rw-r--r--ansible/roles/smarthost-client/tasks/main.yml8
1 files changed, 5 insertions, 3 deletions
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
-