asc.core.services_mail role – Deploy the Mailu mail server

Note

This role is part of the asc.core collection (version 2.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: git clone git@ssh.dev.azure.com:v3/cloudasc/iac-ansible-collections/core $HOME/.ansible/collections/ansible_collections/asc/core.

To use it in a playbook, specify: asc.core.services_mail.

Entry point main – Deploy the Mailu mail server

New in asc.core 1.0.0

Synopsis

  • Deploys a Mailu mail server on a dedicated VM and configures its domains, accounts and web admin, providing SMTP/IMAP for notifications and exercises within the environment.

Parameters

Parameter

Comments

services_mail

dictionary

‘services_mail’ role configuration

domain

string

Default email domain name

Default: "xhack.org"

enabled

boolean

Whether to enable the role

Choices:

  • false ← (default)

  • true

mailu_install_dir

path

Mailu installation directory

Default: "/opt/mailu"

vm_name

string

Name of the VM to deploy

Default: "vmmail01"

vm_size

string

Size of the VM to deploy (Azure VM size)

Default: "Standard_B2as_v2"

Authors

  • Ignace De Cock