Files
matrix-docker-ansible-deploy/roles/custom/matrix-pantalaimon/defaults/main.yml
T
Slavi Pantaleev ac7f805dcc matrix-pantalaimon: switch to modern community.docker docker_image modules
Replaces `community.docker.docker_image` with the modern
`docker_image_pull` and `docker_image_build` split modules. Drops the
`ansible_version` compatibility ladder and the now-redundant
`_container_image_force_pull` variable (the new pull module handles
registry refresh natively via `pull: always`). Also registers
`_container_image_build_result` so that a self-build rebuild correctly
triggers a service restart.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5191.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 22:24:04 +03:00

74 lines
4.3 KiB
YAML

# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
# SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
# E2EE aware proxy daemon for Matrix clients.
# Project source code URL: https://github.com/matrix-org/pantalaimon
matrix_pantalaimon_enabled: true
matrix_pantalaimon_version: "0.10.5"
matrix_pantalaimon_container_image_self_build: false
matrix_pantalaimon_container_image_self_build_repo: "https://github.com/matrix-org/pantalaimon.git"
matrix_pantalaimon_container_image_self_build_repo_version: "{{ 'main' if matrix_pantalaimon_version == 'latest' else matrix_pantalaimon_version }}"
matrix_pantalaimon_container_image: "{{ matrix_pantalaimon_container_image_registry_prefix }}matrixdotorg/pantalaimon:v{{ matrix_pantalaimon_version }}"
matrix_pantalaimon_container_image_registry_prefix: "{{ 'localhost/' if matrix_pantalaimon_container_image_self_build else matrix_pantalaimon_container_image_registry_prefix_upstream }}"
matrix_pantalaimon_container_image_registry_prefix_upstream: "{{ matrix_pantalaimon_container_image_registry_prefix_upstream_default }}"
matrix_pantalaimon_container_image_registry_prefix_upstream_default: "docker.io/"
matrix_pantalaimon_base_path: "{{ matrix_base_data_path }}/pantalaimon"
matrix_pantalaimon_data_path: "{{ matrix_pantalaimon_base_path }}/data"
matrix_pantalaimon_container_src_files_path: "{{ matrix_pantalaimon_base_path }}/container-src"
# The base container network
matrix_pantalaimon_container_network: ''
# A list of additional container networks that the container would be connected to.
# The role does not create these networks, so make sure they already exist.
matrix_pantalaimon_container_additional_networks: "{{ matrix_pantalaimon_container_additional_networks_auto + matrix_pantalaimon_container_additional_networks_custom }}"
matrix_pantalaimon_container_additional_networks_auto: []
matrix_pantalaimon_container_additional_networks_custom: []
# A list of extra arguments to pass to the container
matrix_pantalaimon_container_extra_arguments: []
# List of systemd services that matrix-pantalaimon.service depends on
matrix_pantalaimon_systemd_required_services_list: "{{ matrix_pantalaimon_systemd_required_services_list_default + matrix_pantalaimon_systemd_required_services_list_auto + matrix_pantalaimon_systemd_required_services_list_custom }}"
matrix_pantalaimon_systemd_required_services_list_default: "{{ [devture_systemd_docker_base_docker_service_name] if devture_systemd_docker_base_docker_service_name else [] }}"
matrix_pantalaimon_systemd_required_services_list_auto: []
matrix_pantalaimon_systemd_required_services_list_custom: []
# List of systemd services that matrix-pantalaimon.service wants
matrix_pantalaimon_systemd_wanted_services_list: "{{ matrix_pantalaimon_systemd_wanted_services_list_default + matrix_pantalaimon_systemd_wanted_services_list_auto + matrix_pantalaimon_systemd_wanted_services_list_custom }}"
matrix_pantalaimon_systemd_wanted_services_list_default: []
matrix_pantalaimon_systemd_wanted_services_list_auto: []
matrix_pantalaimon_systemd_wanted_services_list_custom: []
# Valid values: Error, Warning, Info, Debug
matrix_pantalaimon_log_level: Warning
# Base URL where matrix-pantalaimon can reach your homeserver C-S API.
# If the homeserver runs on the same machine, you may need to add its service to `matrix_pantalaimon_systemd_required_services_list`.
matrix_pantalaimon_homeserver_url: ""
# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#
# For a more advanced customization, you can
# completely replace this variable with your own template.
matrix_pantalaimon_configuration: "{{ lookup('template', 'templates/pantalaimon.conf.j2') }}"
# matrix_pantalaimon_restart_necessary controls whether the service
# will be restarted (when true) or merely started (when false) by the
# systemd service manager role (when conditional restart is enabled).
#
# This value is automatically computed during installation based on whether
# any configuration files, the systemd service file, or the container image changed.
# The default of `false` means "no restart needed" — appropriate when the role's
# installation tasks haven't run (e.g., due to --tags skipping them).
matrix_pantalaimon_restart_necessary: false