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

Do not reference variables from other roles

This configuration is supposed to be kept clean and not reference variables defined in other roles.

`group_vars/matrix_servers` redefines these to hook our various roles together.
pull/1242/head
Slavi Pantaleev 4 лет назад
committed by GitHub
Родитель
Сommit
78c22138a5
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 4 добавлений и 4 удалений
  1. +4
    -4
      roles/matrix-bridge-beeper-linkedin/defaults/main.yml

+ 4
- 4
roles/matrix-bridge-beeper-linkedin/defaults/main.yml Просмотреть файл

@@ -25,8 +25,8 @@ matrix_beeper_linkedin_systemd_required_services_list: ['docker.service']
# List of systemd services that matrix-beeper-linkedin.service wants
matrix_beeper_linkedin_systemd_wanted_services_list: []

matrix_beeper_linkedin_appservice_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'linked.as.token') | to_uuid }}"
matrix_beeper_linkedin_homeserver_token: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'linked.hs.token') | to_uuid }}"
matrix_beeper_linkedin_appservice_token: ""
matrix_beeper_linkedin_homeserver_token: ""

matrix_beeper_linkedin_appservice_bot_username: linkedinbot

@@ -35,13 +35,13 @@ matrix_beeper_linkedin_appservice_bot_username: linkedinbot
# To use Postgres:
# - change the engine (`matrix_beeper_linkedin_database_engine: 'postgres'`)
# - adjust your database credentials via the `matrix_beeper_linkedin_postgres_*` variables
matrix_beeper_linkedin_database_engine: "{{ 'postgres' if matrix_postgres_enabled else 'sqlite' }}"
matrix_beeper_linkedin_database_engine: "sqlite"

matrix_beeper_linkedin_sqlite_database_path_local: "{{ matrix_beeper_linkedin_data_path }}/beeper-linkedin.db"
matrix_beeper_linkedin_sqlite_database_path_in_container: "/data/beeper-linkedin.db"

matrix_beeper_linkedin_database_username: 'matrix_beeper_linkedin'
matrix_beeper_linkedin_database_password: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'maulinkedin.db') | to_uuid }}"
matrix_beeper_linkedin_database_password: ""
matrix_beeper_linkedin_database_hostname: 'matrix-postgres'
matrix_beeper_linkedin_database_port: 5432
matrix_beeper_linkedin_database_name: 'matrix_beeper_linkedin'


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