ansible-postfix
ansible-postfix copied to clipboard
Make master.cf configurable, ensure order of lines in transport_maps
In master.cf, column service together with column type are uniq, so these two columns are used together as key. In that way, each default line of matser.cfcan be overwritten.
When transport_maps is changed, lineinfile cant ensure, that the lines are in the right order. New lines were always added to the end of the file, and existing lines weren't changed. But the order of the lines is very important for this function.
@tersmitten Is there a way to do configuration changes in master.cf ?
No, there isn't