2022-01-01 19:24:52 +01:00
|
|
|
---
|
|
|
|
- name: "Install Postfix via apt"
|
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
state: present
|
|
|
|
name:
|
|
|
|
- postfix
|
|
|
|
|
|
|
|
- name: Install Postfix forwarder config
|
|
|
|
template:
|
|
|
|
src: templates/main.cf
|
|
|
|
dest: /etc/postfix/main.cf
|
|
|
|
|
|
|
|
- name: Restart Postfix
|
|
|
|
service:
|
|
|
|
name: postfix
|
|
|
|
state: restarted
|
|
|
|
enabled: yes
|
2022-04-16 19:55:29 +02:00
|
|
|
...
|