main.cf files need to be moved before we claim they are templates

Revert "postfix: install main.cf as template"

This reverts commit 57f75cbcab.
This commit is contained in:
Pavel Raiskup 2023-06-19 10:36:47 +02:00
parent 57f75cbcab
commit bee7b64fe5
5 changed files with 8 additions and 4 deletions

View file

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