summaryrefslogtreecommitdiff
path: root/ansible/roles/smarthost-client
diff options
context:
space:
mode:
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
-