Oefenweb.mailhog

mailhog

CI Ansible Galaxy

Set up (the latest version of) 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)

---
- hosts: all
  roles:
    - oefenweb.mailhog

Example (with daemon options)

---
- 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

License

MIT

Author Information

Mischa ter Smitten

Feedback, bug-reports, requests, ...

Are welcome!

About

Set up (the latest version of) MailHog in Ubuntu systems

Install
ansible-galaxy install Oefenweb.mailhog
GitHub repository
License
mit
Downloads
410