Просмотр исходного кода

Adjust homeserver URL for Buscarron

pull/3093/head
Slavi Pantaleev 2 лет назад
Родитель
Сommit
5e7b882ce9
3 измененных файлов: 4 добавлений и 1 удалений
  1. +2
    -0
      group_vars/matrix_servers
  2. +1
    -1
      roles/custom/matrix-bot-buscarron/defaults/main.yml
  3. +1
    -0
      roles/custom/matrix-bot-buscarron/tasks/validate_config.yml

+ 2
- 0
group_vars/matrix_servers Просмотреть файл

@@ -2038,6 +2038,8 @@ matrix_bot_buscarron_container_labels_traefik_docker_network: "{{ matrix_playboo
matrix_bot_buscarron_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}" matrix_bot_buscarron_container_labels_traefik_entrypoints: "{{ devture_traefik_entrypoint_primary }}"
matrix_bot_buscarron_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}" matrix_bot_buscarron_container_labels_traefik_tls_certResolver: "{{ devture_traefik_certResolver_primary }}"


matrix_bot_buscarron_homeserver: "{{ matrix_addons_homeserver_client_api_url }}"

# Postgres is the default, except if not using internal Postgres server # Postgres is the default, except if not using internal Postgres server
matrix_bot_buscarron_database_engine: "{{ 'postgres' if devture_postgres_enabled else 'sqlite' }}" matrix_bot_buscarron_database_engine: "{{ 'postgres' if devture_postgres_enabled else 'sqlite' }}"
matrix_bot_buscarron_database_hostname: "{{ devture_postgres_connection_hostname if devture_postgres_enabled else '' }}" matrix_bot_buscarron_database_hostname: "{{ devture_postgres_connection_hostname if devture_postgres_enabled else '' }}"


+ 1
- 1
roles/custom/matrix-bot-buscarron/defaults/main.yml Просмотреть файл

@@ -140,7 +140,7 @@ matrix_bot_buscarron_login: "bot.buscarron"
matrix_bot_buscarron_password: '' matrix_bot_buscarron_password: ''


# the homeserver URL, uses internal synapse container address by default # the homeserver URL, uses internal synapse container address by default
matrix_bot_buscarron_homeserver: "{{ matrix_homeserver_container_url }}"
matrix_bot_buscarron_homeserver: ""


# forms configuration # forms configuration
matrix_bot_buscarron_forms: [] matrix_bot_buscarron_forms: []


+ 1
- 0
roles/custom/matrix-bot-buscarron/tasks/validate_config.yml Просмотреть файл

@@ -9,3 +9,4 @@
- {'name': 'matrix_bot_buscarron_password', when: true} - {'name': 'matrix_bot_buscarron_password', when: true}
- {'name': 'matrix_bot_buscarron_hostname', when: true} - {'name': 'matrix_bot_buscarron_hostname', when: true}
- {'name': 'matrix_bot_buscarron_database_hostname', when: "{{ matrix_bot_buscarron_database_engine == 'postgres' }}"} - {'name': 'matrix_bot_buscarron_database_hostname', when: "{{ matrix_bot_buscarron_database_engine == 'postgres' }}"}
- {'name': 'matrix_bot_buscarron_homeserver', when: true}

Загрузка…
Отмена
Сохранить