https://github.com/joenyland/ansible-postfix-role
https://github.com/joenyland/ansible-postfix-role
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/joenyland/ansible-postfix-role
- Owner: JoeNyland
- Created: 2023-04-16T09:42:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-17T09:23:29.000Z (almost 2 years ago)
- Last Synced: 2025-02-15T08:30:24.268Z (3 months ago)
- Language: Jinja
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
joenyland.postfix
=========================[](https://github.com/JoeNyland/ansible-postfix-role/actions/workflows/ci.yml)
Installs and configures Postfix.
Requirements
------------None.
Role Variables
--------------### `postfix_service`
A hash describing the desired state for the `postfix` service
### `postfix_inet_interfaces`
Interfaces that Postfix should listen on.
### `postfix_inet_protocols`
IP protocols that Postfix should communicate on.
### `postfix_host_name`
Hostname of the Postfix host.
### `postfix_mail_name`
Mail name of the Postfix host.
### `postfix_destinations`
Domains and hostnames that Postfix should receive mail for.
### `postfix_aliases`
Aliases to be stored in `/etc/aliases`.
### `mailbox_transport`
Allows the mailbox transport to be configured.
### `postfix_networks`
Network subnets which Postfix should listen on.
### `postfix_relay_host_sasl_username`
User name to use to authenicate with a relay host.
### `postfix_relay_host_sasl_password`
Password to use to authenicate with a relay host.
### `postfix_smtpd_tls_cert_file`
Allows a SSL certificate file to be set to override the default auto-generated one.
### `postfix_smtpd_tls_key_file`
Allows a SSL certificate key file to be set to override the default auto-generated one.
Dependencies
------------None.
Example Playbook
----------------```yaml
- hosts: server
roles:
- postfix
```License
-------MIT
Author Information
------------------⌨️ with ❤️ by [Joe Nyland](https://joe.nyland.io)