chriswayg / ansible-msmtp-mailer

:a: This ansible role deploys msmtp as a mailer for Debian, Ubuntu, Arch & Alpine
https://galaxy.ansible.com/chriswayg/msmtp-mailer/
Apache License 2.0
15 stars 17 forks source link

Build Status

ansible-msmtp-mailer

This ansible role deploys msmtp as a mailer for Debian, Ubuntu, Arch & Alpine Linux

Prerequisite

How to install

Variables

All the default variables are located defaults/main.yml. Mostly you would need to configure the following variables.

Configure

You can configure your variables in ansible with one of the following

Example Playbook

---
- hosts: all
  roles:
    - ansible-msmtp-mailer

Run

Test

You should get a test mail if it works as expected on the root mail

Documentation

msmtp manual

Authors:

License: