Track config/image/systemd changes via register: directives and compute a _restart_necessary variable for each service role, allowing the systemd_service_manager to skip unnecessary restarts during install-* runs. Covers 22 service roles: alertmanager-receiver, appservice-draupnir-for-all, bridge-mautrix-wsproxy (+ syncproxy), cactus-comments, cactus-comments-client, corporal, element-admin, ldap-registration-proxy, livekit-jwt-service, matrixto, pantalaimon, prometheus-nginxlog-exporter, rageshake, registration, static-files, sygnal, synapse-admin, synapse-auto-compressor, synapse-reverse-proxy-companion, synapse-usage-exporter, and user-verification-service. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
75 lines
4.4 KiB
YAML
75 lines
4.4 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_docker_image: "{{ matrix_pantalaimon_docker_image_registry_prefix }}matrixdotorg/pantalaimon:v{{ matrix_pantalaimon_version }}"
|
|
matrix_pantalaimon_docker_image_registry_prefix: "{{ 'localhost/' if matrix_pantalaimon_container_image_self_build else matrix_pantalaimon_docker_image_registry_prefix_upstream }}"
|
|
matrix_pantalaimon_docker_image_registry_prefix_upstream: "{{ matrix_pantalaimon_docker_image_registry_prefix_upstream_default }}"
|
|
matrix_pantalaimon_docker_image_registry_prefix_upstream_default: "docker.io/"
|
|
matrix_pantalaimon_docker_image_force_pull: "{{ matrix_pantalaimon_docker_image.endswith(':latest') }}"
|
|
|
|
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
|