ansible/roles/mail/handlers/main.yml

27 lines
548 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 redis
service: name=redis 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