infra/roles/postfix/handlers/main.yml

18 lines
271 B
YAML

---
- name: postmap sasl_passwd
command: postmap /etc/postfix/sasl_passwd
- name: newaliases
command: newaliases
- name: restart postfix
service:
name: postfix
state: restarted
- name: restart telegraf
service:
name: telegraf
state: restarted