linux-system-roles / postfix

An ansible role which configures postfix
https://linux-system-roles.github.io/postfix/
GNU General Public License v3.0
14 stars 20 forks source link

Conflicting configuration mechanisms #16

Closed sspreitzer closed 2 years ago

sspreitzer commented 3 years ago

https://github.com/linux-system-roles/postfix/blob/2a1b47b253b5305ec8ce50588950cec290ae3101/tasks/main.yml#L26

This role manages the configuration file via postconf, not Ansible. Ansible comments and statements are disambigious.

spetrosi commented 2 years ago

Indeed, the role does not manage the /etc/postconf/main.cf directly, but it does manage it with postconf. And yet, changes done to this file can be overwritten on the next role invocation.

42 has been fixed recently, it adds a ansible_manage variable at the top of the file.