Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/ansible-role-postfix
Ansible Role - Postfix
https://github.com/geerlingguy/ansible-role-postfix
ansible email mail postfix role send setup
Last synced: 2 days ago
JSON representation
Ansible Role - Postfix
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-role-postfix
- Owner: geerlingguy
- License: mit
- Created: 2014-05-20T02:36:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-12-13T04:44:37.000Z (about 1 month ago)
- Last Synced: 2025-01-12T11:11:34.229Z (10 days ago)
- Topics: ansible, email, mail, postfix, role, send, setup
- Homepage: https://galaxy.ansible.com/geerlingguy/postfix/
- Size: 29.3 KB
- Stars: 93
- Watchers: 9
- Forks: 65
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-list-ansible - ansible-role-postfix - Postfix (setup)
- awesome-ansible-roles - geerlingguy.postfix - Installs postfix on RedHat/CentOS or Debian/Ubuntu. (Version Control / Other)
README
# Ansible Role: Postfix
[![CI](https://github.com/geerlingguy/ansible-role-postfix/workflows/CI/badge.svg?event=push)](https://github.com/geerlingguy/ansible-role-postfix/actions?query=workflow%3ACI)
Installs postfix on RedHat/CentOS or Debian/Ubuntu.
## Requirements
If you're using this as an SMTP relay server, you will need to do that on your own, and open TCP port 25 in your server firewall.
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
postfix_config_file: /etc/postfix/main.cf
The path to the Postfix `main.cf` configuration file.
postfix_service_state: started
postfix_service_enabled: trueThe state in which the Postfix service should be after this role runs, and whether to enable the service on startup.
postfix_inet_interfaces: localhost
postfix_inet_protocols: allOptions for values `inet_interfaces` and `inet_protocols` in the `main.cf` file.
## Dependencies
None.
## Example Playbook
- hosts: all
roles:
- geerlingguy.postfix## License
MIT / BSD
## Author Information
This role was created in 2014 by [Jeff Geerling](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).