mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-05-26 03:46:46 +02:00
9294828f15
We want to migrate to mailman3 as mailman2 is basically unmaintained and requires Python 2 which is EOL. Because the mailman and mailman3 packages conflict and we don't want to perform a big bang migration, mailman3 must be deployed on a separate server. mailman-web (mailman3's web interface) hasn't been packaged yet, so for now we are using my homebrewed PKGBUILD[1]. [1] https://gist.github.com/klausenbusk/5982063f95c503754a51ed2fefb8915e Ref #59
16 lines
314 B
YAML
16 lines
314 B
YAML
---
|
|
- name: restart mailman
|
|
service: name=mailman daemon_reload=yes state=restarted
|
|
|
|
- name: reload mailman
|
|
service: name=mailman state=reloaded
|
|
|
|
- name: reload postfix
|
|
service: name=postfix state=reloaded
|
|
|
|
- name: run postmap
|
|
command: postmap /etc/postfix/{{ item }}
|
|
loop:
|
|
- aliases
|
|
- transport
|