Role Detail

geerlingguy.postfix

Postfix for RedHat/CentOS or Debian/Ubuntu.
Downloads
21964
Type Ansible
Minimum Ansible Version 1.8
Installation $ ansible-galaxy install geerlingguy.postfix
Tags
mail
networking
system
Last Commit
Last Imported
Version History
Version Release Date
2.0.0
1.1.0
1.0.1
1.0.0
OS Platforms
Platform Version
Debian etch
Debian jessie
Debian lenny
Debian sid
Debian squeeze
Debian stretch
Debian wheezy
EL 5
EL 6
EL 7
Ubuntu artful
Ubuntu lucid
Ubuntu maverick
Ubuntu natty
Ubuntu oneiric
Ubuntu precise
Ubuntu quantal
Ubuntu raring
Ubuntu saucy
Ubuntu trusty
Ubuntu utopic
Ubuntu vivid
Ubuntu wily
Ubuntu xenial
Ubuntu yakkety
Ubuntu zesty
Last 10 Imports
Completed Status
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS
SUCCESS

Ansible Role: Postfix

Build Status

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: yes

The 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: all

Options 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, author of Ansible for DevOps.

None