l3d.mailserver_preperation

Ansible Role Mailserver Preparations

====================================== Preparation, User, and Database Configuration Ansible role for setting up a mail server.

WARNING

THIS IS A WORK IN PROGRESS

BE CAREFUL IF YOU THINK ABOUT USING IT. THINGS HERE CAN CHANGE!!!

IT IS NOT FULLY DOCUMENTED, INCLUDING OTHER REQUIRED ROLES.

What is the purpose of this Ansible role?


This Ansible role was created when L3D was setting up a mail server. It carries out some initial tasks necessary for the mail server setup.

This role is meant to work alongside other Ansible roles for configuring a mail server. The setup is mainly based on the guide from https://thomas-leister.de/mailserver-debian-buster/.

What exactly is being done?


As an optional step, a simple version check can be done.

First, it sets the hostname of the system. The name of the mail server is crucial. You can find more details in tasks/hosts.yml.

Next, it creates a user and a group for mail history, along with a few necessary folders. More details are available in tasks/user.yml.

Finally, it deploys a template for creating a database, and also sets up data for the MySQL database. Note that a MySQL database must exist beforehand.

Testing


We use some GitHub actions for publishing and linting checks. If you know a good testing method for Ansible that uses systemd, please let us know. For more information about the tests, please check the GitHub marketplace.

Test Status GitHub Marketplace
Ansible Lint check Ansible-lint action
Informazioni sul progetto

Preperation, User and Database Configuration ansible role for a mailserver Setup

Installa
ansible-galaxy install l3d.mailserver_preperation
Licenza
mit
Download
272
Proprietario
Ansible roles provide a framework for fully independent, or interdependent collections of variables,tasks,files,templates &modules. Here we maintain some. enjoy