ansible/roles/mail/handlers/main.yml

29 lines
585 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
2020-06-07 15:13:46 +02:00
command: /usr/bin/acertmgr
- name: Run postmap
command: postmap /etc/{{ item }}
with_items:
- postfix/helo_access
2016-02-29 20:50:14 +01:00
- postfix/transport
- postfix/virtual-alias