2017-10-27 11:52:03 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: create minimal main.cf
|
2023-03-20 23:33:19 +01:00
|
|
|
ansible.builtin.template:
|
2017-10-27 11:52:03 +02:00
|
|
|
src: evolinux_main.cf.j2
|
|
|
|
dest: /etc/postfix/main.cf
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: "0644"
|
2023-06-28 13:22:59 +02:00
|
|
|
force: true
|
2017-10-27 11:52:03 +02:00
|
|
|
notify: restart postfix
|
2021-05-09 23:06:42 +02:00
|
|
|
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)
|
2017-10-27 11:52:03 +02:00
|
|
|
tags:
|
|
|
|
- postfix
|