.config
.github
LICENSES
bin
collections
docs
examples
group_vars
i18n
roles
custom
matrix-alertmanager-receiver
matrix-appservice-double-puppet
matrix-appservice-draupnir-for-all
matrix-authentication-service
matrix-base
matrix-bot-baibot
matrix-bot-buscarron
matrix-bot-chatgpt
matrix-bot-draupnir
matrix-bot-go-neb
matrix-bot-honoroit
matrix-bot-matrix-registration-bot
matrix-bot-matrix-reminder-bot
matrix-bot-maubot
matrix-bot-mjolnir
matrix-bridge-appservice-discord
matrix-bridge-appservice-irc
matrix-bridge-appservice-kakaotalk
matrix-bridge-appservice-slack
matrix-bridge-appservice-webhooks
matrix-bridge-beeper-linkedin
matrix-bridge-go-skype-bridge
matrix-bridge-heisenbridge
matrix-bridge-hookshot
matrix-bridge-mautrix-bluesky
matrix-bridge-mautrix-discord
matrix-bridge-mautrix-facebook
matrix-bridge-mautrix-gmessages
matrix-bridge-mautrix-googlechat
matrix-bridge-mautrix-instagram
matrix-bridge-mautrix-meta-instagram
matrix-bridge-mautrix-meta-messenger
matrix-bridge-mautrix-signal
matrix-bridge-mautrix-slack
matrix-bridge-mautrix-telegram
matrix-bridge-mautrix-twitter
matrix-bridge-mautrix-whatsapp
matrix-bridge-mautrix-wsproxy
matrix-bridge-mx-puppet-discord
matrix-bridge-mx-puppet-groupme
matrix-bridge-mx-puppet-instagram
matrix-bridge-mx-puppet-slack
matrix-bridge-mx-puppet-steam
matrix-bridge-mx-puppet-twitter
matrix-bridge-postmoogle
matrix-bridge-sms
matrix-bridge-wechat
defaults
tasks
install.yml
main.yml
uninstall.yml
validate_config.yml
templates
matrix-cactus-comments
matrix-cactus-comments-client
matrix-client-cinny
matrix-client-element
matrix-client-fluffychat
matrix-client-hydrogen
matrix-client-schildichat
matrix-common-after
matrix-conduit
matrix-conduwuit
matrix-continuwuity
matrix-corporal
matrix-coturn
matrix-dendrite
matrix-dimension
matrix-dynamic-dns
matrix-element-call
matrix-ldap-registration-proxy
matrix-livekit-jwt-service
matrix-ma1sd
matrix-media-repo
matrix-pantalaimon
matrix-prometheus-nginxlog-exporter
matrix-prometheus-services-connect
matrix-rageshake
matrix-registration
matrix-sliding-sync
matrix-static-files
matrix-sygnal
matrix-synapse
matrix-synapse-admin
matrix-synapse-auto-compressor
matrix-synapse-reverse-proxy-companion
matrix-synapse-usage-exporter
matrix-user-creator
matrix-user-verification-service
matrix_playbook_migration
.editorconfig
.envrc
.gitattributes
.gitignore
.yamllint
CHANGELOG.md
CHANGELOG.md.license
LICENSE
Makefile
README.md
README.md.license
REUSE.toml
YEAR-IN-REVIEW.md
ansible.cfg
conf.py
flake.lock
flake.nix
jitsi_jvb.yml
justfile
requirements.yml
setup.yml
setup.yml.license
33 lines
1.5 KiB
YAML
33 lines
1.5 KiB
YAML
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
---
|
|
|
|
- name: Fail if required WeChat settings not defined
|
|
ansible.builtin.fail:
|
|
msg: >-
|
|
You need to define a required configuration setting (`{{ item.name }}`).
|
|
when: "item.when | bool and vars[item.name] == ''"
|
|
with_items:
|
|
- {'name': 'matrix_wechat_appservice_token', when: true}
|
|
- {'name': 'matrix_wechat_homeserver_address', when: true}
|
|
- {'name': 'matrix_wechat_homeserver_token', when: true}
|
|
- {'name': 'matrix_wechat_database_hostname', when: "{{ matrix_wechat_database_engine == 'postgres' }}"}
|
|
- {'name': 'matrix_wechat_container_network', when: true}
|
|
- {'name': 'matrix_wechat_bridge_listen_secret', when: true}
|
|
|
|
- name: Fail if WeChat enabled on ARM64 (not supported by the wechat agent, even with self-building)
|
|
when: matrix_architecture not in ['amd64']
|
|
ansible.builtin.fail:
|
|
msg: "The WeChat Agent does not support the '{{ matrix_architecture }}' architecture yet. Its Dockerfile downloads amd64 binaries and does not work on arm64."
|
|
|
|
- name: (Deprecation) Catch and report renamed WeChat variables
|
|
ansible.builtin.fail:
|
|
msg: >-
|
|
The variable `{{ item.old }}` is deprecated. Please use `{{ item.new }}` instead.
|
|
when: "item.old in vars"
|
|
with_items:
|
|
- {'old': 'matrix_wechat_container_image_name_prefix', 'new': 'matrix_wechat_container_image_registry_prefix'}
|
|
- {'old': 'matrix_wechat_agent_container_image_name_prefix', 'new': 'matrix_wechat_agent_container_image_registry_prefix'}
|