15 lines
389 B
YAML
15 lines
389 B
YAML
---
|
|
|
|
- name: create minimal main.cf
|
|
ansible.builtin.template:
|
|
src: evolinux_main.cf.j2
|
|
dest: /etc/postfix/main.cf
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
force: true
|
|
notify: restart postfix
|
|
when: (postfix_force_main_cf | bool) or (postfix_maincf_md5_jessie in default_main_cf.stdout) or (postfix_maincf_md5_stretch in default_main_cf.stdout)
|
|
tags:
|
|
- postfix
|