---
- name: restart postfix
  ansible.builtin.service:
    name: postfix
    state: restarted

- name: reload postfix
  ansible.builtin.service:
    name: postfix
    state: reloaded

- name: postmap transport
  ansible.builtin.command:
    cmd: postmap /etc/postfix/transport
