Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oefenweb/ansible-mailhog
Ansible role to set up (the latest version of) MailHog in Ubuntu systems
https://github.com/oefenweb/ansible-mailhog
ansible development mail mailhog smtp ubuntu
Last synced: 3 months ago
JSON representation
Ansible role to set up (the latest version of) MailHog in Ubuntu systems
- Host: GitHub
- URL: https://github.com/oefenweb/ansible-mailhog
- Owner: Oefenweb
- License: mit
- Created: 2016-04-09T18:46:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T11:04:38.000Z (over 1 year ago)
- Last Synced: 2023-11-02T11:37:09.995Z (over 1 year ago)
- Topics: ansible, development, mail, mailhog, smtp, ubuntu
- Language: Shell
- Homepage:
- Size: 96.7 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## mailhog
[![CI](https://github.com/Oefenweb/ansible-mailhog/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-mailhog/actions?query=workflow%3ACI)
[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-mailhog-blue.svg)](https://galaxy.ansible.com/Oefenweb/mailhog/)Set up (the latest version of) [MailHog](https://github.com/mailhog/MailHog) in Ubuntu systems.
#### Requirements
None
#### Variables
* `mailhog_version` [default: `v1.0.0`]: Version to install
* `mailhog_install_prefix` [default: `/usr/local/bin`]: Install prefix* `mailhog_user` [default: `mailhog`]: The user that will run the `mailhog` daemon
* `mailhog_group` [default: `mailhog`]: The primary group of the `mailhog` user
* `mailhog_groups` [default: `[]`]: The secondary groups of the `mailhog` user* `mailhog_options: {}`]: Options to pass to the `mailhog` daemon (e.g. `{hostname: mailhog.test}`)
## Dependencies
None
#### Example (without any options)
```yaml
---
- hosts: all
roles:
- oefenweb.mailhog
```#### Example (with daemon options)
```yaml
---
- hosts: all
roles:
- oefenweb.mailhog
vars:
mailhog_options:
hostname: "{{ inventory_hostname }}"
api-bind-addr: 127.0.0.1:8025
ui-bind-addr: 127.0.0.2:8025
smtp-bind-addr: 127.0.0.3:1025
```
#### LicenseMIT
#### Author Information
Mischa ter Smitten
#### Feedback, bug-reports, requests, ...
Are [welcome](https://github.com/Oefenweb/ansible-mailhog/issues)!