robertdebock.dovecot

Ansible Role Dovecot

This guide helps you install and set up Dovecot on your system.

GitHub GitLab Downloads Version
github gitlab downloads Version

Example Playbook

The following playbook is an example. It is taken from molecule/default/converge.yml and is tested every time there is a push, pull request, or release.

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: robertdebock.dovecot

Before running the playbook, you need to prepare the machine. In Continuous Integration (CI), this is done using molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: true
  gather_facts: false

  roles:
    - role: robertdebock.bootstrap

You can find a full explanation and examples on how to use these roles.

Role Variables

Default values for the variables are defined in defaults/main.yml:

---
# defaults file for dovecot

# Set the location for the mailbox.
dovecot_mailbox_location: "mbox:~/mail:INBOX=/var/spool/mail/%u"

# Grant access to these supplementary groups for mail processes.
dovecot_mail_access_groups: mail

Requirements

State of Used Roles

The following roles are used to prepare the system. You can prepare your system using a different method.

Requirement GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab

Context

This role is part of several compatible roles. For more information, check out the documentation of these roles.

Here’s an overview of related roles: dependencies

Compatibility

This role works with the following container images:

Container Tags
Alpine all
Amazon Candidate
EL 9
Debian all
Fedora all
Ubuntu all

The minimum version of Ansible required is 2.12. Tests have been performed on:

  • The previous version.
  • The current version.
  • The development version.

If you encounter any problems, please report them on GitHub.

License

This project is licensed under Apache-2.0.

Author Information

This role is created by robertdebock.

Feel free to consider sponsoring me.

Informazioni sul progetto

Install and configure dovecot on your system.

Installa
ansible-galaxy install robertdebock.dovecot
Licenza
apache-2.0
Download
3.5k
Proprietario
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.