ansible-roles/roles/postfix/handlers/main.yml

22 lines
436 B
YAML
Raw Normal View History

2021-12-01 19:13:34 +01:00
---
2023-11-22 16:00:28 +01:00
2021-12-01 19:13:34 +01:00
- name: restart postfix
service: name=postfix state=restarted
2023-11-22 16:00:28 +01:00
- name: reload postfix
service: name=postfix state=reloaded
- name: rehash relay_auth
command: postmap /etc/postfix/relay_auth
notify: reload postfix
- name: rehash relay_domains
command: postmap /etc/postfix/relay_domains
notify: reload postfix
- name: rehash transport_maps
command: postmap /etc/postfix/transport_maps
notify: reload postfix
2021-12-01 19:13:34 +01:00
...