mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-04-24 17:37:35 +00:00
Clean up ansible-lint warnings in defaults/main.yml files (#5148)
Reformat `{{ { ... }[engine] }}` dict-in-Jinja-expressions across
bot/bridge role defaults for consistent indentation (tabs -> spaces).
Also: fix a missing space in a Jinja `+` expression in matrix-static-files,
and fix indentation in the caddy2-in-container example.
The original PR also renamed `galaxy/<role>` role references to just
`<role>` in setup.yml and jitsi_jvb.yml; those were dropped here because
Ansible does not recurse into subdirectories of `roles/` by default and
no `roles_path` is configured in ansible.cfg, so the rename would break
role resolution.
Co-Authored-By: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
committed by
Slavi Pantaleev
parent
5b7a1c2a6c
commit
e0bc2be687
@@ -137,19 +137,15 @@ matrix_bot_buscarron_database_sslmode: disable
|
||||
|
||||
matrix_bot_buscarron_database_connection_string: 'postgres://{{ matrix_bot_buscarron_database_username }}:{{ matrix_bot_buscarron_database_password }}@{{ matrix_bot_buscarron_database_hostname }}:{{ matrix_bot_buscarron_database_port }}/{{ matrix_bot_buscarron_database_name }}?sslmode={{ matrix_bot_buscarron_database_sslmode }}'
|
||||
|
||||
matrix_bot_buscarron_storage_database: "{{
|
||||
{
|
||||
matrix_bot_buscarron_storage_database: "{{ {
|
||||
'sqlite': matrix_bot_buscarron_sqlite_database_path_in_container,
|
||||
'postgres': matrix_bot_buscarron_database_connection_string,
|
||||
}[matrix_bot_buscarron_database_engine]
|
||||
}}"
|
||||
}[matrix_bot_buscarron_database_engine] }}"
|
||||
|
||||
matrix_bot_buscarron_database_dialect: "{{
|
||||
{
|
||||
matrix_bot_buscarron_database_dialect: "{{ {
|
||||
'sqlite': 'sqlite3',
|
||||
'postgres': 'postgres',
|
||||
}[matrix_bot_buscarron_database_engine]
|
||||
}}"
|
||||
}[matrix_bot_buscarron_database_engine] }}"
|
||||
|
||||
|
||||
# The bot's username. This user needs to be created manually beforehand.
|
||||
|
||||
@@ -159,11 +159,9 @@ matrix_bot_go_neb_database_engine: 'sqlite3'
|
||||
matrix_bot_go_neb_sqlite_database_path_local: "{{ matrix_bot_go_neb_data_path }}/bot.db"
|
||||
matrix_bot_go_neb_sqlite_database_path_in_container: "/data/bot.db"
|
||||
|
||||
matrix_bot_go_neb_storage_database: "{{
|
||||
{
|
||||
matrix_bot_go_neb_storage_database: "{{ {
|
||||
'sqlite3': (matrix_bot_go_neb_sqlite_database_path_in_container + '?_busy_timeout=5000'),
|
||||
}[matrix_bot_go_neb_database_engine]
|
||||
}}"
|
||||
}[matrix_bot_go_neb_database_engine] }}"
|
||||
|
||||
# The bot's username(s). These users need to be created manually beforehand.
|
||||
# The access tokens that the bot uses to authenticate.
|
||||
|
||||
@@ -115,19 +115,15 @@ matrix_bot_honoroit_database_sslmode: disable
|
||||
|
||||
matrix_bot_honoroit_database_connection_string: 'postgres://{{ matrix_bot_honoroit_database_username }}:{{ matrix_bot_honoroit_database_password }}@{{ matrix_bot_honoroit_database_hostname }}:{{ matrix_bot_honoroit_database_port }}/{{ matrix_bot_honoroit_database_name }}?sslmode={{ matrix_bot_honoroit_database_sslmode }}'
|
||||
|
||||
matrix_bot_honoroit_storage_database: "{{
|
||||
{
|
||||
matrix_bot_honoroit_storage_database: "{{ {
|
||||
'sqlite': matrix_bot_honoroit_sqlite_database_path_in_container,
|
||||
'postgres': matrix_bot_honoroit_database_connection_string,
|
||||
}[matrix_bot_honoroit_database_engine]
|
||||
}}"
|
||||
}[matrix_bot_honoroit_database_engine] }}"
|
||||
|
||||
matrix_bot_honoroit_database_dialect: "{{
|
||||
{
|
||||
matrix_bot_honoroit_database_dialect: "{{ {
|
||||
'sqlite': 'sqlite3',
|
||||
'postgres': 'postgres',
|
||||
}[matrix_bot_honoroit_database_engine]
|
||||
}}"
|
||||
}[matrix_bot_honoroit_database_engine] }}"
|
||||
|
||||
|
||||
# The bot's username. This user needs to be created manually beforehand.
|
||||
|
||||
@@ -72,12 +72,10 @@ matrix_bot_matrix_reminder_bot_database_name: 'matrix_reminder_bot'
|
||||
|
||||
matrix_bot_matrix_reminder_bot_database_connection_string: 'postgres://{{ matrix_bot_matrix_reminder_bot_database_username }}:{{ matrix_bot_matrix_reminder_bot_database_password }}@{{ matrix_bot_matrix_reminder_bot_database_hostname }}:{{ matrix_bot_matrix_reminder_bot_database_port }}/{{ matrix_bot_matrix_reminder_bot_database_name }}'
|
||||
|
||||
matrix_bot_matrix_reminder_bot_storage_database: "{{
|
||||
{
|
||||
matrix_bot_matrix_reminder_bot_storage_database: "{{ {
|
||||
'sqlite': ('sqlite://' + matrix_bot_matrix_reminder_bot_sqlite_database_path_in_container),
|
||||
'postgres': matrix_bot_matrix_reminder_bot_database_connection_string,
|
||||
}[matrix_bot_matrix_reminder_bot_database_engine]
|
||||
}}"
|
||||
}[matrix_bot_matrix_reminder_bot_database_engine] }}"
|
||||
|
||||
|
||||
# The bot's username. This user needs to be created manually beforehand.
|
||||
|
||||
@@ -79,12 +79,10 @@ matrix_bot_maubot_database_sslmode: disable
|
||||
|
||||
matrix_bot_maubot_database_connection_string: postgres://{{ matrix_bot_maubot_database_username }}:{{ matrix_bot_maubot_database_password }}@{{ matrix_bot_maubot_database_hostname }}:{{ matrix_bot_maubot_database_port }}/{{ matrix_bot_maubot_database_name }}?sslmode={{ matrix_bot_maubot_database_sslmode }}
|
||||
|
||||
matrix_bot_maubot_database_uri: "{{
|
||||
{
|
||||
matrix_bot_maubot_database_uri: "{{ {
|
||||
'sqlite': ('sqlite:///' + matrix_bot_maubot_sqlite_database_path_in_container),
|
||||
'postgres': matrix_bot_maubot_database_connection_string,
|
||||
}[matrix_bot_maubot_database_engine]
|
||||
}}"
|
||||
}[matrix_bot_maubot_database_engine] }}"
|
||||
|
||||
# Defines the port number where the management interface is
|
||||
# To actually expose the management interface outside of the container, use `matrix_bot_maubot_container_management_interface_http_bind_port`
|
||||
|
||||
@@ -121,12 +121,10 @@ matrix_appservice_kakaotalk_database_name: 'matrix_appservice_kakaotalk'
|
||||
|
||||
matrix_appservice_kakaotalk_database_connection_string: 'postgres://{{ matrix_appservice_kakaotalk_database_username }}:{{ matrix_appservice_kakaotalk_database_password }}@{{ matrix_appservice_kakaotalk_database_hostname }}:{{ matrix_appservice_kakaotalk_database_port }}/{{ matrix_appservice_kakaotalk_database_name }}'
|
||||
|
||||
matrix_appservice_kakaotalk_appservice_database: "{{
|
||||
{
|
||||
matrix_appservice_kakaotalk_appservice_database: "{{ {
|
||||
'sqlite': ('sqlite:///' + matrix_appservice_kakaotalk_sqlite_database_path_in_container),
|
||||
'postgres': matrix_appservice_kakaotalk_database_connection_string,
|
||||
}[matrix_appservice_kakaotalk_database_engine]
|
||||
}}"
|
||||
}[matrix_appservice_kakaotalk_database_engine] }}"
|
||||
|
||||
|
||||
# Can be set to enable automatic double-puppeting via Shared Secret Auth (https://github.com/devture/matrix-synapse-shared-secret-auth).
|
||||
|
||||
@@ -92,17 +92,13 @@ matrix_beeper_linkedin_database_sslmode: disable
|
||||
|
||||
matrix_beeper_linkedin_database_connection_string: 'postgresql://{{ matrix_beeper_linkedin_database_username }}:{{ matrix_beeper_linkedin_database_password }}@{{ matrix_beeper_linkedin_database_hostname }}:{{ matrix_beeper_linkedin_database_port }}/{{ matrix_beeper_linkedin_database_name }}?sslmode={{ matrix_beeper_linkedin_database_sslmode }}'
|
||||
|
||||
matrix_beeper_linkedin_appservice_database_type: "{{
|
||||
{
|
||||
matrix_beeper_linkedin_appservice_database_type: "{{ {
|
||||
'postgres': 'postgres',
|
||||
}[matrix_beeper_linkedin_database_engine]
|
||||
}}"
|
||||
}[matrix_beeper_linkedin_database_engine] }}"
|
||||
|
||||
matrix_beeper_linkedin_appservice_database_uri: "{{
|
||||
{
|
||||
matrix_beeper_linkedin_appservice_database_uri: "{{ {
|
||||
'postgres': matrix_beeper_linkedin_database_connection_string,
|
||||
}[matrix_beeper_linkedin_database_engine]
|
||||
}}"
|
||||
}[matrix_beeper_linkedin_database_engine] }}"
|
||||
|
||||
matrix_beeper_linkedin_bridge_login_shared_secret_map: "{{ matrix_beeper_linkedin_bridge_login_shared_secret_map_auto | combine(matrix_beeper_linkedin_bridge_login_shared_secret_map_custom) }}"
|
||||
matrix_beeper_linkedin_bridge_login_shared_secret_map_auto: {}
|
||||
|
||||
@@ -122,11 +122,9 @@ matrix_mautrix_bluesky_database_sslmode: disable
|
||||
|
||||
matrix_mautrix_bluesky_database_connection_string: 'postgres://{{ matrix_mautrix_bluesky_database_username }}:{{ matrix_mautrix_bluesky_database_password }}@{{ matrix_mautrix_bluesky_database_hostname }}:{{ matrix_mautrix_bluesky_database_port }}/{{ matrix_mautrix_bluesky_database_name }}?sslmode={{ matrix_mautrix_bluesky_database_sslmode }}'
|
||||
|
||||
matrix_mautrix_bluesky_database_uri: "{{
|
||||
{
|
||||
matrix_mautrix_bluesky_database_uri: "{{ {
|
||||
'postgres': matrix_mautrix_bluesky_database_connection_string,
|
||||
}[matrix_mautrix_bluesky_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_bluesky_database_engine] }}"
|
||||
|
||||
matrix_mautrix_bluesky_double_puppet_secrets: "{{ matrix_mautrix_bluesky_double_puppet_secrets_auto | combine(matrix_mautrix_bluesky_double_puppet_secrets_custom) }}"
|
||||
matrix_mautrix_bluesky_double_puppet_secrets_auto: {}
|
||||
|
||||
@@ -161,19 +161,15 @@ matrix_mautrix_discord_database_sslmode: disable
|
||||
|
||||
matrix_mautrix_discord_database_connection_string: 'postgresql://{{ matrix_mautrix_discord_database_username }}:{{ matrix_mautrix_discord_database_password }}@{{ matrix_mautrix_discord_database_hostname }}:{{ matrix_mautrix_discord_database_port }}/{{ matrix_mautrix_discord_database_name }}?sslmode={{ matrix_mautrix_discord_database_sslmode }}'
|
||||
|
||||
matrix_mautrix_discord_appservice_database_type: "{{
|
||||
{
|
||||
matrix_mautrix_discord_appservice_database_type: "{{ {
|
||||
'sqlite': 'sqlite3',
|
||||
'postgres': 'postgres',
|
||||
}[matrix_mautrix_discord_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_discord_database_engine] }}"
|
||||
|
||||
matrix_mautrix_discord_appservice_database_uri: "{{
|
||||
{
|
||||
matrix_mautrix_discord_appservice_database_uri: "{{ {
|
||||
'sqlite': matrix_mautrix_discord_sqlite_database_path_in_container,
|
||||
'postgres': matrix_mautrix_discord_database_connection_string,
|
||||
}[matrix_mautrix_discord_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_discord_database_engine] }}"
|
||||
|
||||
matrix_mautrix_discord_bridge_login_shared_secret_map: "{{ matrix_mautrix_discord_bridge_login_shared_secret_map_auto | combine(matrix_mautrix_discord_bridge_login_shared_secret_map_custom) }}"
|
||||
matrix_mautrix_discord_bridge_login_shared_secret_map_auto: {}
|
||||
|
||||
@@ -141,19 +141,15 @@ matrix_mautrix_gmessages_database_sslmode: disable
|
||||
|
||||
matrix_mautrix_gmessages_database_connection_string: 'postgresql://{{ matrix_mautrix_gmessages_database_username }}:{{ matrix_mautrix_gmessages_database_password }}@{{ matrix_mautrix_gmessages_database_hostname }}:{{ matrix_mautrix_gmessages_database_port }}/{{ matrix_mautrix_gmessages_database_name }}?sslmode={{ matrix_mautrix_gmessages_database_sslmode }}'
|
||||
|
||||
matrix_mautrix_gmessages_appservice_database_type: "{{
|
||||
{
|
||||
matrix_mautrix_gmessages_appservice_database_type: "{{ {
|
||||
'sqlite': 'sqlite3',
|
||||
'postgres': 'postgres',
|
||||
}[matrix_mautrix_gmessages_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_gmessages_database_engine] }}"
|
||||
|
||||
matrix_mautrix_gmessages_appservice_database_uri: "{{
|
||||
{
|
||||
matrix_mautrix_gmessages_appservice_database_uri: "{{ {
|
||||
'sqlite': matrix_mautrix_gmessages_sqlite_database_path_in_container,
|
||||
'postgres': matrix_mautrix_gmessages_database_connection_string,
|
||||
}[matrix_mautrix_gmessages_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_gmessages_database_engine] }}"
|
||||
|
||||
matrix_mautrix_gmessages_double_puppet_secrets: "{{ matrix_mautrix_gmessages_double_puppet_secrets_auto | combine(matrix_mautrix_gmessages_double_puppet_secrets_custom) }}"
|
||||
matrix_mautrix_gmessages_double_puppet_secrets_auto: {}
|
||||
|
||||
@@ -146,12 +146,10 @@ matrix_mautrix_googlechat_database_name: 'matrix_mautrix_googlechat'
|
||||
|
||||
matrix_mautrix_googlechat_database_connection_string: 'postgres://{{ matrix_mautrix_googlechat_database_username }}:{{ matrix_mautrix_googlechat_database_password }}@{{ matrix_mautrix_googlechat_database_hostname }}:{{ matrix_mautrix_googlechat_database_port }}/{{ matrix_mautrix_googlechat_database_name }}'
|
||||
|
||||
matrix_mautrix_googlechat_appservice_database: "{{
|
||||
{
|
||||
matrix_mautrix_googlechat_appservice_database: "{{ {
|
||||
'sqlite': ('sqlite:///' + matrix_mautrix_googlechat_sqlite_database_path_in_container),
|
||||
'postgres': matrix_mautrix_googlechat_database_connection_string,
|
||||
}[matrix_mautrix_googlechat_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_googlechat_database_engine] }}"
|
||||
|
||||
|
||||
# Can be set to enable automatic double-puppeting via Shared Secret Auth (https://github.com/devture/matrix-synapse-shared-secret-auth) or Appservice Double Puppet.
|
||||
|
||||
@@ -172,19 +172,15 @@ matrix_mautrix_signal_database_sslmode: disable
|
||||
|
||||
matrix_mautrix_signal_database_connection_string: 'postgresql://{{ matrix_mautrix_signal_database_username }}:{{ matrix_mautrix_signal_database_password }}@{{ matrix_mautrix_signal_database_hostname }}:{{ matrix_mautrix_signal_database_port }}/{{ matrix_mautrix_signal_database_name }}?sslmode={{ matrix_mautrix_signal_database_sslmode }}'
|
||||
|
||||
matrix_mautrix_signal_appservice_database_type: "{{
|
||||
{
|
||||
matrix_mautrix_signal_appservice_database_type: "{{ {
|
||||
'sqlite': 'sqlite3-fk-wal',
|
||||
'postgres': 'postgres',
|
||||
}[matrix_mautrix_signal_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_signal_database_engine] }}"
|
||||
|
||||
matrix_mautrix_signal_appservice_database_uri: "{{
|
||||
{
|
||||
matrix_mautrix_signal_appservice_database_uri: "{{ {
|
||||
'sqlite': matrix_mautrix_signal_sqlite_database_path_in_container,
|
||||
'postgres': matrix_mautrix_signal_database_connection_string,
|
||||
}[matrix_mautrix_signal_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_signal_database_engine] }}"
|
||||
|
||||
matrix_mautrix_signal_double_puppet_secrets: "{{ matrix_mautrix_signal_double_puppet_secrets_auto | combine(matrix_mautrix_signal_double_puppet_secrets_custom) }}"
|
||||
matrix_mautrix_signal_double_puppet_secrets_auto: {}
|
||||
|
||||
@@ -123,19 +123,15 @@ matrix_mautrix_slack_database_sslmode: disable
|
||||
|
||||
matrix_mautrix_slack_database_connection_string: 'postgresql://{{ matrix_mautrix_slack_database_username }}:{{ matrix_mautrix_slack_database_password }}@{{ matrix_mautrix_slack_database_hostname }}:{{ matrix_mautrix_slack_database_port }}/{{ matrix_mautrix_slack_database_name }}?sslmode={{ matrix_mautrix_slack_database_sslmode }}'
|
||||
|
||||
matrix_mautrix_slack_appservice_database_type: "{{
|
||||
{
|
||||
matrix_mautrix_slack_appservice_database_type: "{{ {
|
||||
'sqlite': 'sqlite3',
|
||||
'postgres': 'postgres',
|
||||
}[matrix_mautrix_slack_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_slack_database_engine] }}"
|
||||
|
||||
matrix_mautrix_slack_appservice_database_uri: "{{
|
||||
{
|
||||
matrix_mautrix_slack_appservice_database_uri: "{{ {
|
||||
'sqlite': matrix_mautrix_slack_sqlite_database_path_in_container,
|
||||
'postgres': matrix_mautrix_slack_database_connection_string,
|
||||
}[matrix_mautrix_slack_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_slack_database_engine] }}"
|
||||
|
||||
matrix_mautrix_slack_double_puppet_secrets: "{{ matrix_mautrix_slack_double_puppet_secrets_auto | combine(matrix_mautrix_slack_double_puppet_secrets_custom) }}"
|
||||
matrix_mautrix_slack_double_puppet_secrets_auto: {}
|
||||
|
||||
@@ -147,19 +147,15 @@ matrix_mautrix_telegram_database_sslmode: disable
|
||||
|
||||
matrix_mautrix_telegram_database_connection_string: 'postgresql://{{ matrix_mautrix_telegram_database_username }}:{{ matrix_mautrix_telegram_database_password }}@{{ matrix_mautrix_telegram_database_hostname }}:{{ matrix_mautrix_telegram_database_port }}/{{ matrix_mautrix_telegram_database_name }}?sslmode={{ matrix_mautrix_telegram_database_sslmode }}'
|
||||
|
||||
matrix_mautrix_telegram_appservice_database_type: "{{
|
||||
{
|
||||
matrix_mautrix_telegram_appservice_database_type: "{{ {
|
||||
'sqlite': 'sqlite3-fk-wal',
|
||||
'postgres': 'postgres',
|
||||
}[matrix_mautrix_telegram_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_telegram_database_engine] }}"
|
||||
|
||||
matrix_mautrix_telegram_appservice_database_uri: "{{
|
||||
{
|
||||
matrix_mautrix_telegram_appservice_database_uri: "{{ {
|
||||
'sqlite': matrix_mautrix_telegram_sqlite_database_path_in_container,
|
||||
'postgres': matrix_mautrix_telegram_database_connection_string,
|
||||
}[matrix_mautrix_telegram_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_telegram_database_engine] }}"
|
||||
|
||||
matrix_mautrix_telegram_double_puppet_secrets: "{{ matrix_mautrix_telegram_double_puppet_secrets_auto | combine(matrix_mautrix_telegram_double_puppet_secrets_custom) }}"
|
||||
matrix_mautrix_telegram_double_puppet_secrets_auto: {}
|
||||
|
||||
@@ -130,11 +130,9 @@ matrix_mautrix_twitter_database_sslmode: disable
|
||||
|
||||
matrix_mautrix_twitter_database_connection_string: 'postgres://{{ matrix_mautrix_twitter_database_username }}:{{ matrix_mautrix_twitter_database_password }}@{{ matrix_mautrix_twitter_database_hostname }}:{{ matrix_mautrix_twitter_database_port }}/{{ matrix_mautrix_twitter_database_name }}?sslmode={{ matrix_mautrix_twitter_database_sslmode }}'
|
||||
|
||||
matrix_mautrix_twitter_database_uri: "{{
|
||||
{
|
||||
matrix_mautrix_twitter_database_uri: "{{ {
|
||||
'postgres': matrix_mautrix_twitter_database_connection_string,
|
||||
}[matrix_mautrix_twitter_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_twitter_database_engine] }}"
|
||||
|
||||
matrix_mautrix_twitter_double_puppet_secrets: "{{ matrix_mautrix_twitter_double_puppet_secrets_auto | combine(matrix_mautrix_twitter_double_puppet_secrets_custom) }}"
|
||||
matrix_mautrix_twitter_double_puppet_secrets_auto: {}
|
||||
|
||||
@@ -147,19 +147,15 @@ matrix_mautrix_whatsapp_database_sslmode: disable
|
||||
|
||||
matrix_mautrix_whatsapp_database_connection_string: 'postgresql://{{ matrix_mautrix_whatsapp_database_username }}:{{ matrix_mautrix_whatsapp_database_password }}@{{ matrix_mautrix_whatsapp_database_hostname }}:{{ matrix_mautrix_whatsapp_database_port }}/{{ matrix_mautrix_whatsapp_database_name }}?sslmode={{ matrix_mautrix_whatsapp_database_sslmode }}'
|
||||
|
||||
matrix_mautrix_whatsapp_appservice_database_type: "{{
|
||||
{
|
||||
matrix_mautrix_whatsapp_appservice_database_type: "{{ {
|
||||
'sqlite': 'sqlite3-fk-wal',
|
||||
'postgres': 'postgres',
|
||||
}[matrix_mautrix_whatsapp_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_whatsapp_database_engine] }}"
|
||||
|
||||
matrix_mautrix_whatsapp_appservice_database_uri: "{{
|
||||
{
|
||||
matrix_mautrix_whatsapp_appservice_database_uri: "{{ {
|
||||
'sqlite': matrix_mautrix_whatsapp_sqlite_database_path_in_container,
|
||||
'postgres': matrix_mautrix_whatsapp_database_connection_string,
|
||||
}[matrix_mautrix_whatsapp_database_engine]
|
||||
}}"
|
||||
}[matrix_mautrix_whatsapp_database_engine] }}"
|
||||
|
||||
matrix_mautrix_whatsapp_double_puppet_secrets: "{{ matrix_mautrix_whatsapp_double_puppet_secrets_auto | combine(matrix_mautrix_whatsapp_double_puppet_secrets_custom) }}"
|
||||
matrix_mautrix_whatsapp_double_puppet_secrets_auto: {}
|
||||
|
||||
@@ -68,19 +68,15 @@ matrix_postmoogle_database_sslmode: disable
|
||||
|
||||
matrix_postmoogle_database_connection_string: 'postgres://{{ matrix_postmoogle_database_username }}:{{ matrix_postmoogle_database_password }}@{{ matrix_postmoogle_database_hostname }}:{{ matrix_postmoogle_database_port }}/{{ matrix_postmoogle_database_name }}?sslmode={{ matrix_postmoogle_database_sslmode }}'
|
||||
|
||||
matrix_postmoogle_storage_database: "{{
|
||||
{
|
||||
matrix_postmoogle_storage_database: "{{ {
|
||||
'sqlite': matrix_postmoogle_sqlite_database_path_in_container,
|
||||
'postgres': matrix_postmoogle_database_connection_string,
|
||||
}[matrix_postmoogle_database_engine]
|
||||
}}"
|
||||
}[matrix_postmoogle_database_engine] }}"
|
||||
|
||||
matrix_postmoogle_database_dialect: "{{
|
||||
{
|
||||
matrix_postmoogle_database_dialect: "{{ {
|
||||
'sqlite': 'sqlite3',
|
||||
'postgres': 'postgres',
|
||||
}[matrix_postmoogle_database_engine]
|
||||
}}"
|
||||
}[matrix_postmoogle_database_engine] }}"
|
||||
|
||||
|
||||
# The bot's username. This user needs to be created manually beforehand.
|
||||
|
||||
@@ -164,11 +164,9 @@ matrix_steam_bridge_database_sslmode: disable
|
||||
|
||||
matrix_steam_bridge_database_connection_string: 'postgres://{{ matrix_steam_bridge_database_username }}:{{ matrix_steam_bridge_database_password }}@{{ matrix_steam_bridge_database_hostname }}:{{ matrix_steam_bridge_database_port }}/{{ matrix_steam_bridge_database_name }}?sslmode={{ matrix_steam_bridge_database_sslmode }}'
|
||||
|
||||
matrix_steam_bridge_database_uri: "{{
|
||||
{
|
||||
matrix_steam_bridge_database_uri: "{{ {
|
||||
'postgres': matrix_steam_bridge_database_connection_string,
|
||||
}[matrix_steam_bridge_database_engine]
|
||||
}}"
|
||||
}[matrix_steam_bridge_database_engine] }}"
|
||||
|
||||
matrix_steam_bridge_double_puppet_secrets: "{{ matrix_steam_bridge_double_puppet_secrets_auto | combine(matrix_steam_bridge_double_puppet_secrets_custom) }}"
|
||||
matrix_steam_bridge_double_puppet_secrets_auto: {}
|
||||
|
||||
@@ -112,12 +112,10 @@ matrix_registration_database_connection_string: 'postgresql://{{ matrix_registra
|
||||
|
||||
# For some reason, matrix-registraiton expects the `db` field to be like this: `sqlite:////data/db.sqlite3`.
|
||||
# (seems like one too many slashes, but..)
|
||||
matrix_registration_db: "{{
|
||||
{
|
||||
matrix_registration_db: "{{ {
|
||||
'sqlite': ('sqlite:///' + matrix_registration_sqlite_database_path_in_container),
|
||||
'postgres': matrix_registration_database_connection_string,
|
||||
}[matrix_registration_database_engine]
|
||||
}}"
|
||||
}[matrix_registration_database_engine] }}"
|
||||
|
||||
matrix_registration_base_url: "{{ matrix_registration_path_prefix }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user