geerlingguy.postfix

Ansible Role: Postfix

CI

This role installs Postfix on RedHat/CentOS or Debian/Ubuntu systems.

Requirements

If you want to use this as an SMTP relay server, you'll need to set it up yourself and make sure TCP port 25 is open in your server's firewall.

Role Variables

Here are the variables you can use, with their default values (found in defaults/main.yml):

  • postfix_config_file: /etc/postfix/main.cf
    This is the path to the Postfix main.cf configuration file.

  • postfix_service_state: started
    This sets the Postfix service to start when the role is run.

  • postfix_service_enabled: true
    This enables Postfix to start automatically when the server boots.

  • postfix_inet_interfaces: localhost
    This configures which interfaces Postfix listens to.

  • postfix_inet_protocols: all
    This sets which internet protocols Postfix will support.

Dependencies

There are no dependencies for this role.

Example Playbook

Here’s how to use this role in a playbook:

- hosts: all
  roles:
    - geerlingguy.postfix

License

This role is licensed under MIT / BSD.

Author Information

This role was created in 2014 by Jeff Geerling, who is the author of Ansible for DevOps.

Informazioni sul progetto

Postfix for RedHat/CentOS or Debian/Ubuntu.

Installa
ansible-galaxy install geerlingguy.postfix
Licenza
mit
Download
161.3k
Proprietario
Father, author, developer, maker. Sometimes called "an inflammatory enigma". #stl #drupal #ansible #k8s #raspberrypi #crohns