ansible-role-backup_mx/handlers/main.yml

11 lines
263 B
YAML
Raw Normal View History

2022-10-11 09:18:52 +02:00
---
- name: Refresh aliases
shell: newaliases
- name: Reload postfix
service:
name: postfix
state: restarted
- name: Reload Systemd daemon
shell: systemctl daemon-reload
- name: Update passwords
shell: /usr/sbin/postmap /etc/postfix/smtp_passwords