l3d.mailserver_preperation

ansible_role_mailserver_preperations

邮件服务器设置的准备、用户和数据库配置 ansible 角色

注意

这仍在开发中

使用时请小心。这里的内容可能会改变!!!

文档尚未完全编写,连其他必需的角色也没有

这个 Ansible 角色的目的是什么?

这个 Ansible 角色是在 L3D 设置邮件服务器时创建的。该角色为邮件服务器的搭建执行一些准备任务。

该角色旨在与以下 Ansible 角色一起使用,以搭建邮件服务器。这个设置主要受到 https://thomas-leister.de/mailserver-debian-buster/ 指导的启发。

具体做了什么?

作为可选步骤,可以执行简单版本检查。

首先,设置系统的主机名。对于邮件服务器,使用的服务器名称是一个重要部分。有关更多细节,请查看 tasks/hosts.yml

接下来,为邮件历史记录创建一个用户和一个组,以及一些需要的文件夹。更多细节在 tasks/user.yml

最后一个重要步骤是部署创建数据库的模板。同时部署 MySQL 数据库所需的数据。这要求在之前已经存在一个 MySQL 数据库。

测试

我们使用 GitHub Actions 进行发布和 lint 检查。如果你知道一种好的 ansible 测试方法,特别是和 systemd 相关的,请告诉我们。有关测试的更多信息,请查看 GitHub 市场。

测试状态 GitHub 市场
Ansible Lint 检查 ansible-lint 动作
关于项目

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

安装
ansible-galaxy install l3d.mailserver_preperation
许可证
mit
下载
272
拥有者
Ansible roles provide a framework for fully independent, or interdependent collections of variables,tasks,files,templates &modules. Here we maintain some. enjoy