19 lines
387 B
YAML
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
|