Add postfix non mailhost task

This commit is contained in:
otthorn 2021-02-16 02:15:52 +01:00
parent a9b03aed82
commit f08b11445d

View file

@ -0,0 +1,14 @@
---
- name: Install postfix
apt:
name: postfix
update_cache: true
register: result
retries: 3
until: result is succeeded
- name: Configure postfix
template:
src: main.cf.j2
dest: /etc/postfix/main.cf
notify: restart postfix