ansible-roles/postfix
Mathieu Trossevin 7c632352a0
Replace the include module with include_tasks or import_tasks
The behaviour of the `include` module is badly defined (it try to choose
between statically importing the tasks and dynamically including them)
and can cause problems depending on any number of constraints (mostly if
it choose the wrong behaviour).

Replace it with the `import_tasks` (always statically import tasks) unless
the `include` is in a loop in which case we replace it with
`include_tasks` (always dynamically include tasks).
2023-01-03 14:43:42 +01:00
..
defaults postfix: add slow transport for packmail by default 2017-10-25 11:55:34 +02:00
files postfix: merge packmail role into postfix role 2017-10-27 14:47:01 +02:00
handlers add slow_transport configuration for Postfix role 2017-01-02 01:14:18 +01:00
meta Update Galaxy metadata (company, platforms and galaxy_tags) 2021-06-28 15:26:28 +02:00
tasks Replace the include module with include_tasks or import_tasks 2023-01-03 14:43:42 +01:00
templates postfix: add localhost. to mydestination 2022-12-15 11:49:35 +01:00
tests Add tests for many roles 2017-05-18 15:44:21 +02:00
vars Postfix: extract main.cf md5sum into variables 2017-11-15 12:13:50 +01:00
.kitchen.yml Kitchen: Change base image to evolix/ansible 2017-06-02 08:38:08 -04:00
README.md postfix: update README 2017-10-27 15:29:41 +02:00

Postfix

Installation and basic configuration of Postfix.

Tasks

Minimal configuration is in tasks/minimal.yml and optional customization in :

  • slow_transport.yml : slow transport to specific destination.
  • packmail.yml : config for virtual mail accounts with OpenLDAP

Available variables

Main variables are :

  • postfix_hostname : hostname for Postfix ;
  • postfix_slow_transport : enable customization for delivrability.
  • postfix_force_main_cf : force copy of main.cf
  • postfix_packmail : install an Evolix Packmail instead of lite postfix config

The full list of variables (with default values) can be found in defaults/main.yml.