geerlingguy.exim
Ansible Role: Exim
This role installs Exim, which is a Mail Transfer Agent, on RedHat/CentOS or Debian/Ubuntu systems.
Requirements
No special requirements.
Role Variables
Here are the variables you can use, along with their default values (found in defaults/main.yml
):
exim_dc_eximconfig_configtype
: internet(For Debian/Ubuntu) This setting defines the main configuration type. Set it to 'internet' for sending public emails or 'local' if emails should only be sent within the local network. You can refer to Exim's documentation for more options.
exim_dc_localdelivery
: mail_spool(For Debian/Ubuntu) This is the default method for delivering local emails. It will default to
mail_spool
if not set.exim_primary_hostname
: ""This forces a specific hostname for Exim. You usually don't need to change this, but if Exim has trouble figuring out the Full Qualified Domain Name (FQDN) of your server, you can set it to make sure Exim uses the right hostname.
Dependencies
No dependencies.
Example Playbook
- hosts: servers
roles:
- geerlingguy.exim
License
MIT / BSD
Author Information
This role was created in 2015 by Jeff Geerling, who also wrote Ansible for DevOps.
ansible-galaxy install geerlingguy.exim