ElaoInfra.mailcatcher

Ansible Role: mailcatcher
This role sets up mailcatcher.
It's part of the ELAO Ansible stack but can also be used on its own.
Requirements
- Ansible version 1.7.2 or higher.
Dependencies
None.
Installation
To install using Ansible Galaxy:
ansible-galaxy install elao.mailcatcher
You can include this role as a dependency for other roles by adding it to the meta/main.yml file of your own role:
dependencies:
- { role: elao.mailcatcher }
Role Handlers
Name | Type | Description |
---|---|---|
mailcatcher restart |
Service | Restarts mailcatcher |
Role Variables
Name | Default | Type | Description |
---|---|---|---|
elao_mailcatcher_config_template |
config/default.j2 | String | Main configuration template |
elao_mailcatcher_config['http-ip'] |
0.0.0.0 | String | IP address for the http server |
Configuration example
elao_mailcatcher_config:
- http-ip: 0.0.0.0
- http-port: 27015
- smtp-ip: 127.0.0.1
- smtp-port: 1025
Example playbook
- hosts: servers
roles:
- { role: elao.mailcatcher }
License
MIT
Author information
Installa
ansible-galaxy install ElaoInfra.mailcatcher
Licenza
Unknown
Download
1.8k
Proprietario
All of those roles aren't maintained anymore and we strongly encourage you to switch to our new (maintained and tested) Ansible stack: https://github.com/manala