1
0
forked from infra/ansible
infra/roles/mail/handlers/main.yml

33 lines
683 B
YAML
Raw Permalink Normal View History

---
2016-02-15 19:17:28 +01:00
- name: Restart dovecot
service: name=dovecot state=restarted
2016-02-29 21:29:44 +01:00
- name: Restart nginx
service: name=nginx state=restarted
2016-02-15 19:17:28 +01:00
- name: Restart postfix
service: name=postfix state=restarted
2016-02-01 20:52:34 +01:00
- name: Restart postsrsd
service: name=postsrsd state=restarted
- name: Restart redis
2019-07-23 17:23:14 +02:00
service: name=redis-server state=restarted
- name: Restart rspamd
service: name=rspamd state=restarted
2020-02-29 20:23:56 +01:00
- name: Restart mailman3
service: name=mailman3 state=restarted
- name: Run acertmgr
command: /opt/acertmgr/acertmgr.py
- name: Run postmap
command: postmap /etc/{{ item }}
loop:
- postfix/helo_access
- postfix/recipient_access
2016-02-29 20:50:14 +01:00
- postfix/transport
- postfix/virtual-alias