ansible/roles/postfix_non_mailhost/tasks/main.yml
Solal Nathan 3fceeff74f
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Fix ansible lint for rule [208] always specify mode and owner for template
2021-02-16 02:47:04 +01:00

17 lines
300 B
YAML

---
- 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
mode: 0644
owner: root
group: root
notify: restart postfix