ansible-role-mailserver/handlers/main.yml

24 lines
364 B
YAML

---
- name: reload nginx
systemd:
name: nginx
state: reloaded
- name: restart dovecot
systemd:
name: dovecot
state: restarted
- name: restart rspamd
systemd:
name: rspamd
state: restarted
- name: mailman genaliases
command: /usr/lib/mailman/bin/genaliases
- name: reload postfix
systemd:
name: postfix
state: reloaded