Files
2024-07-05 11:53:33 +02:00

19 lines
387 B
YAML

---
- name: Postmap virtual-regexp
ansible.builtin.command:
cmd: postmap /etc/postfix/virtual-regexp
changed_when: true
listen: "Postmap files"
- name: Postmap transport
ansible.builtin.command:
cmd: postmap /etc/postfix/transport
changed_when: true
listen: "Postmap files"
- name: Restart postfix
ansible.builtin.service:
name: postfix
state: restarted