ansible-role-postfix_mta/handlers/main.yml

11 lines
252 B
YAML

---
- name: reload postfix
ansible.builtin.service:
name: postfix
state: reloaded
- name: map transport
ansible.builtin.command: postmap /etc/postfix/transport
- name: map aliases
ansible.builtin.command: postalias /etc/postfix/aliases