postfix: install main.cf as template

There is no jinja in the current main.cf files, except for the Copr
main.cf that uses STARTTLS for SMTP relayhost.
This commit is contained in:
Pavel Raiskup 2023-06-19 10:33:33 +02:00
parent 8d891f9b32
commit 57f75cbcab
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
- packages
- name: /etc/postfix/main.cf
copy: src={{ item }} dest=/etc/postfix/main.cf
template: src={{ item }} dest=/etc/postfix/main.cf
with_first_found:
- "{{ postfix_maincf }}"
- "{{ roles_path }}/base/files/postfix/main.cf/main.cf.{{ ansible_fqdn }}"