ansible-role-postfix_mta/handlers/main.yml

12 lines
300 B
YAML
Raw Normal View History

2019-03-05 13:44:14 +01:00
---
2023-06-29 16:19:02 +02:00
- name: Reload postfix
2021-08-20 18:20:55 +02:00
ansible.builtin.service:
2019-03-05 13:44:14 +01:00
name: postfix
state: reloaded
2021-08-20 18:30:38 +02:00
2023-06-29 16:19:02 +02:00
- name: Map transport # noqa no-changed-when
2021-08-20 18:30:38 +02:00
ansible.builtin.command: postmap /etc/postfix/transport
2021-08-20 18:36:55 +02:00
2023-06-29 16:19:02 +02:00
- name: Map aliases # noqa no-changed-when
2021-08-20 18:36:55 +02:00
ansible.builtin.command: postalias /etc/postfix/aliases