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

28 lines
555 B
YAML
Raw Normal View History

---
2016-02-15 19:17:28 +01:00
- name: Restart amavis
2016-02-01 20:52:34 +01:00
service: name=amavis state=restarted
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
2016-02-15 19:17:28 +01:00
- name: Restart postgrey
2016-02-01 20:52:34 +01:00
service: name=postgrey 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