ansible/roles/postfix/tasks/main.yml
Otthorn 094334e069
Some checks failed
continuous-integration/drone/push Build is failing
Fix mode, shoudl always be set
2021-01-29 01:03:18 +01:00

14 lines
273 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
mode: 0644
notify: Restart postfix service