summaryrefslogtreecommitdiffstats
path: root/roles/MSA
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-05-21 03:42:52 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-05-21 03:42:54 +0200
commit6fb829e49d421de9abac41325f5089357bf27f82 (patch)
tree0223d7738c877ad13c103ca3130f59c992ce1d50 /roles/MSA
parent6d1daa0424c168eae4bfa9f6772add3f77ec506f (diff)
Postfix: Install -lmdb in all roles using db=lmdb.
And drop -ldap from all roles other than MX. -lmdb is included in roles/common but it can be helpful to have it individual roles as well as they can be run individually.
Diffstat (limited to 'roles/MSA')
-rw-r--r--roles/MSA/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/MSA/tasks/main.yml b/roles/MSA/tasks/main.yml
index 2eee925..4b38974 100644
--- a/roles/MSA/tasks/main.yml
+++ b/roles/MSA/tasks/main.yml
@@ -1,25 +1,26 @@
- name: Install Postfix
apt: pkg={{ packages }}
vars:
packages:
- postfix
+ - postfix-lmdb
- postfix-pcre
- postfix-policyd-spf-python
- name: Install Net::LDAP and Authen::SASL
apt: pkg={{ packages }}
vars:
packages:
- libnet-ldap-perl
- libauthen-sasl-perl
- name: Copy Postfix sender login socketmap
copy: src=usr/local/bin/postfix-sender-login.pl
dest=/usr/local/bin/postfix-sender-login.pl
owner=root group=staff
mode=0755
- name: Create '_postfix-sender-login' user
user: name=_postfix-sender-login system=yes
group=nogroup
createhome=no