Skip to content

Conversation

@felinira
Copy link

Replace the separate configuration variables with one mailcow__config variable. This allows to add arbitrary custom variables to mailcow.conf.

For backwards compatibility we fill in the default values with the old variables. This should allow running the updated role without changing anything in the configuration.

When you specify a non-empty mailcow__config for the first time, any values that are not configured in ansible will be commented out from the file. This ensures idempotency in the configuration of the role, while not being too disruptive when someone forgets to specify a config.

Closes #39 #51 #52

@felinira felinira force-pushed the wip/config-variables branch from 5402938 to 8ecc25d Compare June 18, 2025 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task "Generate mailcow.conf file" does not behave declaratively

1 participant