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

30 lines
622 B
YAML
Raw 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
- name: Run acertmgr
command: /opt/acertmgr/acertmgr.py
- name: Run postmap
command: postmap /etc/{{ item }}
with_items:
- postfix/helo_access
- postfix/recipient_access
2016-02-29 20:50:14 +01:00
- postfix/transport
- postfix/virtual-alias