ansible/roles/postfix-mailhost/tasks/main.yml
2019-03-04 12:51:13 +01:00

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