ansible/roles/postfix/handlers/main.yaml

17 lines
369 B
YAML

---
- name: "postmap sasl_passwd"
command: "postmap hash:{{ postfix_sasl_passwd_map_path }}"
- name: "postmap aliases"
command: "postmap hash:{{ postfix_aliases_map_path }}"
- name: reload postfix
service:
name: "{{ postfix_service_name }}"
state: reloaded
- name: restart postfix
service:
name: "{{ postfix_service_name }}"
state: restarted