Rheinwerk.update_postfix_config
Configure Postfix
Requirements
You need an upstream mail server.
Role Variables
The main variable for this role is _postfix
. This variable contains all the configuration settings. There is also an optional variable called _sasl
, which, if set, will manage the SASL configuration in Postfix. For more details, check defaults/main.yml
.
Dependencies
There are no dependencies.
Example Playbook
This role uses the _postfix
variable from defaults/main.yml
as a template for configuration. You will pass your configuration to the role as a parameter.
Here’s an example of how to use the role with variables:
- hosts: servers
vars:
POSTFIX:
...
roles:
- { role: postfix, tags: [ 'postfix' ], _postfix: "{{ POSTFIX }}" }
License
Refer to the LICENSE file for details.
Author Information
The original author is Daniel Schneller, a member of the Rheinwerk project.