forked from infra/ansible
24 lines
496 B
YAML
24 lines
496 B
YAML
---
|
|
|
|
- name: Restart amavis
|
|
service: name=amavis state=restarted
|
|
|
|
- name: Restart dovecot
|
|
service: name=dovecot state=restarted
|
|
|
|
- name: Restart postfix
|
|
service: name=postfix state=restarted
|
|
|
|
- name: Restart postgrey
|
|
service: name=postgrey state=restarted
|
|
|
|
- name: Run postmap
|
|
command: postmap /etc/{{ item }}
|
|
with_items:
|
|
- postfix/helo_access
|
|
- postfix/ldap-aliases.cf
|
|
- postfix/ldap-virtual-maps.cf
|
|
- postfix/recipient_access
|
|
- postfix/transport
|
|
- postfix/virtual-alias
|