Add SRS support with postsrsd
This commit is contained in:
parent
64aade5949
commit
1e105b4da7
5 changed files with 93 additions and 1 deletions
|
|
@ -18,6 +18,23 @@
|
|||
notify:
|
||||
- restart prometheus-postfix-exporter
|
||||
|
||||
- name: install postsrsd
|
||||
when: postfix.srs.enable
|
||||
apt:
|
||||
pkg:
|
||||
- postsrsd
|
||||
|
||||
- name: configure postsrsd
|
||||
when: postfix.srs.enable
|
||||
template:
|
||||
src: postsrsd.j2
|
||||
dest: /etc/default/postsrsd
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify:
|
||||
- restart postsrsd
|
||||
|
||||
- name: Install and setup utilities for LDAP
|
||||
when: postfix.ldap.enable
|
||||
block:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue