ansible/roles/postfix/tasks/main.yml
otthorn bb8bd718a9
Some checks failed
continuous-integration/drone/push Build is failing
fix yaml lint
2021-01-14 12:25:23 +01:00

13 lines
258 B
YAML

---
# Install and configure Postfix
- name: Install Postfix
apt:
name: postfix
update_cache: true # apt update beforehand
- name: Configure Postfix
template:
src: main.cf.j2
dest: /etc/postfix/main.cf
notify: Restart postfix service