#######################################################################################################
❗ DEPRECATION ❗
This repository and the role associated are deprecated.
Manala Ansible Collection. You will find informations on its usage on the collection repository
You can find our other roles in the#######################################################################################################
❗ Report issues and send Pull Requests in the main Ansible Role repository ❗
This role will deal with the setup and the config of Mailhog.
It's part of the Manala Ansible stack but can be used as a stand alone component.
Requirements
This role is made to work with the manala mailhog debian package, available on the manala debian repository. Please use the manala.apt role to handle it properly.
manala_apt_preferences:
- mailhog@manala
Dependencies
None.
Installation
Ansible 2+
Using ansible galaxy cli:
ansible-galaxy install manala.mailhog
Using ansible galaxy requirements file:
- src: manala.mailhog
Role Handlers
None.
Role Variables
Definition
Name | Default | Type | Description |
---|---|---|---|
manala_mailhog_install_packages |
~ | String | Dependency packages to install |
manala_mailhog_install_packages_default |
['mailhog'] | String | Default dependency packages to install |
manala_mailhog_config_template |
~ | String | Configuration template path |
manala_mailhog_config |
[] | Array | Configuration |
Example
- hosts: all
vars:
manala_mailhog_config_template: config/default.dev.j2
manala_mailhog_config:
- ui-bind-addr: 0.0.0.0:8080
roles:
- role: manala.mailhog
Licence
MIT
Author information
Manala (http://www.manala.io/)