11 lines
208 B
YAML
11 lines
208 B
YAML
---
|
|
- name: Install postfix
|
|
apt:
|
|
name: postfix
|
|
update_cache: true
|
|
|
|
- name: Configure postfix
|
|
template:
|
|
src: postfix/main.cf.j2
|
|
dest: /etc/postfix/main.cf
|
|
notify: Restart postfix service
|