forked from infra/ansible
28 lines
555 B
YAML
28 lines
555 B
YAML
---
|
|
|
|
- name: Restart amavis
|
|
service: name=amavis state=restarted
|
|
|
|
- name: Restart dovecot
|
|
service: name=dovecot state=restarted
|
|
|
|
- name: Restart nginx
|
|
service: name=nginx state=restarted
|
|
|
|
- name: Restart postfix
|
|
service: name=postfix state=restarted
|
|
|
|
- name: Restart postgrey
|
|
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
|
|
- postfix/transport
|
|
- postfix/virtual-alias
|