Skip to content

Commit

Permalink
Do not reference variables from other roles
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
spantaleev authored Aug 23, 2021
1 parent 13e660b commit 78c2213
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions roles/matrix-bridge-beeper-linkedin/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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'
Expand Down

0 comments on commit 78c2213

Please sign in to comment.