ansible/roles/postfix/handlers/main.yaml

17 lines
369 B
YAML
Raw Normal View History

2019-10-27 23:35:12 +00:00
---
- name: "postmap sasl_passwd"
command: "postmap hash:{{ postfix_sasl_passwd_map_path }}"
2019-11-29 03:47:08 +00:00
- name: "postmap aliases"
command: "postmap hash:{{ postfix_aliases_map_path }}"
2019-10-27 23:35:12 +00:00
- name: reload postfix
service:
name: "{{ postfix_service_name }}"
state: reloaded
- name: restart postfix
service:
name: "{{ postfix_service_name }}"
state: restarted