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

Reorder some Buscarron default variables and fix some typos

Fixes a regression introduced in 0220c851e8
pull/2517/head
Slavi Pantaleev 3 лет назад
Родитель
Сommit
bc5dda2b3a
2 измененных файлов: 10 добавлений и 9 удалений
  1. +1
    -1
      group_vars/matrix_servers
  2. +9
    -8
      roles/custom/matrix-bot-buscarron/defaults/main.yml

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

@@ -1685,7 +1685,7 @@ matrix_bot_buscarron_database_engine: "{{ 'postgres' if devture_postgres_enabled
matrix_bot_buscarron_database_hostname: "{{ devture_postgres_connection_hostname if devture_postgres_enabled else '' }}"
matrix_bot_buscarron_database_password: "{{ '%s' | format(matrix_homeserver_generic_secret_key) | password_hash('sha512', 'buscarron.bot.db', rounds=655555) | to_uuid }}"

matrix_bot_container_network: "{{ matrix_docker_network }}"
matrix_bot_buscarron_container_network: "{{ matrix_docker_network }}"

######################################################################
#


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

@@ -5,28 +5,29 @@

matrix_bot_buscarron_enabled: true

matrix_bot_buscarron_version: v1.3.1

matrix_bot_buscarron_base_path: "{{ matrix_base_data_path }}/buscarron"
matrix_bot_buscarron_config_path: "{{ matrix_bot_buscarron_base_path }}/config"
matrix_bot_buscarron_data_path: "{{ matrix_bot_buscarron_base_path }}/data"
matrix_bot_buscarron_data_store_path: "{{ matrix_bot_buscarron_data_path }}/store"

matrix_bot_buscarron_container_image_self_build: false
matrix_bot_buscarron_docker_repo: "https://gitlab.com/etke.cc/buscarron.git"
matrix_bot_buscarron_docker_repo_version: "{{ matrix_bot_buscarron_version }}"
matrix_bot_buscarron_docker_src_files_path: "{{ matrix_base_data_path }}/buscarron/docker-src"

matrix_bot_buscarron_version: v1.3.1
matrix_bot_buscarron_docker_image: "{{ matrix_bot_buscarron_docker_image_name_prefix }}etke.cc/buscarron:{{ matrix_bot_buscarron_version }}"
matrix_bot_buscarron_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_buscarron_container_image_self_build else 'registry.gitlab.com/' }}"
matrix_bot_buscarron_docker_image_force_pull: "{{ matrix_bot_buscarron_docker_image.endswith(':latest') }}"

matrix_bot_buscarron_base_path: "{{ matrix_base_data_path }}/buscarron"
matrix_bot_buscarron_config_path: "{{ matrix_bot_buscarron_base_path }}/config"
matrix_bot_buscarron_data_path: "{{ matrix_bot_buscarron_base_path }}/data"
matrix_bot_buscarron_data_store_path: "{{ matrix_bot_buscarron_data_path }}/store"

# The base container network. It will be auto-created by this role if it doesn't exist already.
matrix_bot_container_network: matrix-bot-buscarron
matrix_bot_buscarron_container_network: matrix-bot-buscarron

# 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.
# Use this to expose this container to another reverse proxy, which runs in a different container network.
matrix_bot_container_additional_networks: []
matrix_bot_buscarron_container_additional_networks: []

# A list of extra arguments to pass to the container
matrix_bot_buscarron_container_extra_arguments: []


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