No description
Find a file
semantic-release-bot 6c7a55dbbd chore(release): 1.4.0 [skip ci]
# [1.4.0](https://github.com/de-it-krachten/ansible-role-mattermost_docker/compare/v1.3.0...v1.4.0) (2026-03-15)

### Features

* Added support for Fedora 43 ([17ac53a](17ac53a15e))
* Drop support for Debian 10 (Buster) ([4bc61e3](4bc61e3421))
* Drop support for Fedora 41 ([1a7487b](1a7487baf1))
* Drop support for openSUSE Leap 15 ([28a045f](28a045fac4))
* Drop support for SUSE Linux Enterprise 15 ([649bc07](649bc07903))
2026-03-15 11:39:09 +00:00
.github/workflows Update CI 2026-03-14 19:44:25 +01:00
defaults Fix linting issues 2023-05-06 01:24:44 +02:00
handlers feat: Update supported platforms & CI 2024-12-29 15:36:00 +01:00
meta Update CI 2026-03-14 19:44:25 +01:00
molecule/default Update supported platforms & CI 2026-03-14 19:44:25 +01:00
tasks Initial commit 2023-04-11 21:13:49 +02:00
templates Initial commit 2023-04-11 21:13:49 +02:00
.ansible-lint Initial commit 2023-04-11 21:13:49 +02:00
.cicd Update CI 2026-03-06 22:51:11 +01:00
.cicd.overwrite Update CI 2026-03-14 19:44:25 +01:00
.collections feat: Add support for Ubuntu 24.04 LTS + Fedora 40 2024-05-31 23:26:19 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 15:36:00 +01:00
.releaserc.yml feat: Add support for Debian 13 (Trixie) 2025-09-02 00:03:24 +02:00
.roles Initial commit 2023-04-11 21:13:49 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 15:36:00 +01:00
CHANGELOG.md chore(release): 1.4.0 [skip ci] 2026-03-15 11:39:09 +00:00
README.md Update CI 2026-03-14 19:44:25 +01:00

CI

ansible-role-mattermost_docker

Sets up Mattermost using Docker.
https://mattermost.com

Dependencies

Roles

None

Collections

  • community.docker

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • Red Hat Enterprise Linux 91
  • Red Hat Enterprise Linux 101
  • RockyLinux 81
  • RockyLinux 91
  • RockyLinux 101
  • OracleLinux 81
  • OracleLinux 91
  • OracleLinux 101
  • AlmaLinux 81
  • AlmaLinux 91
  • AlmaLinux 101
  • Debian 11 (Bullseye)1
  • Debian 12 (Bookworm)1
  • Debian 13 (Trixie)1
  • Ubuntu 18.04 LTS1
  • Ubuntu 20.04 LTS1
  • Ubuntu 22.04 LTS1
  • Ubuntu 24.04 LTS1
  • Fedora 421
  • Fedora 431
  • Alpine 31
  • Docker dind (CI only)

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# Mattermost FQDN
mattermost_fqdn: mm.example.com

# Mattermost domain
mattermost_domain: example.com

# Retrieve SSL certificate from let's encrypt
mattermost_certbot: true

# Run nginx in docker
mattermost_nginx_docker: true

# Custom SSL certificate
# mattermost_ssl_key: /path/to/key
# mattermost_ssl_certificate_chain: /path/to/certificate/chain

# Max upload size
mattermost_max_upload_size: 100M

# Exposed ports to the host
mattermost_httts_port: 443
mattermost_httt_port: 80
mattermost_calls_port: 8443

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'mattermost_docker'
  hosts: all
  become: 'yes'
  vars:
    molecule_driver: '{{ lookup(''env'', ''MOLECULE_DRIVER_NAME'') }}'
    mysql_root_password: mattermost
    mysql_user: mattermost
    mysql_password: mattermost
    mysql_database: mattermost
    mattermost_certbot: false
    mattermost_domain: example.com
    mattermost_docker_data: /export/docker/mattermost
    mattermost_db_name: mattermost
    mattermost_db_user: mattermost
    mattermost_db_pwd: mattermost
    letsencrypt_email: info@{{ mattermost_domain }}
    letsencrypt_domain: '{{ mattermost_domain }}'
    letsencrypt_domains: '{{ [ mattermost_domain ] }}'
  roles:
    - deitkrachten.openssl
  tasks:
    - name: Include role 'mattermost_docker'
      ansible.builtin.include_role:
        name: mattermost_docker