forked from infra/ansible
35 lines
726 B
YAML
35 lines
726 B
YAML
---
|
|
- 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 postsrsd
|
|
service: name=postsrsd state=restarted
|
|
|
|
- name: Restart redis
|
|
service: name=redis-server state=restarted
|
|
|
|
- name: Restart rspamd
|
|
service: name=rspamd state=restarted
|
|
|
|
- name: Restart mailman3
|
|
service: name=mailman3 state=restarted
|
|
|
|
- name: Restart mailman3web
|
|
service: name=mailman3-web state=restarted
|
|
|
|
- name: Run acertmgr
|
|
command: /usr/bin/acertmgr
|
|
|
|
- name: Run postmap
|
|
command: postmap /etc/{{ item }}
|
|
with_items:
|
|
- postfix/helo_access
|
|
- postfix/transport
|
|
- postfix/virtual-alias
|