Преглед на файлове

Adjust API secret to be a configurable and required variable

pull/339/head
Björn Marten преди 6 години
родител
ревизия
9892eac789
променени са 2 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. +2
    -1
      roles/matrix-bridge-appservice-webhooks/defaults/main.yml
  2. +1
    -0
      roles/matrix-bridge-appservice-webhooks/tasks/validate_config.yml

+ 2
- 1
roles/matrix-bridge-appservice-webhooks/defaults/main.yml Целия файл

@@ -44,6 +44,7 @@ matrix_appservice_webhooks_systemd_wanted_services_list: []
matrix_appservice_webhooks_appservice_token: ''
matrix_appservice_webhooks_homeserver_token: ''
matrix_appservice_webhooks_id_token: ''
matrix_appservice_webhooks_api_secret: ''

matrix_appservice_webhooks_configuration_yaml: |

@@ -69,7 +70,7 @@ matrix_appservice_webhooks_configuration_yaml: |
# Provisioning API options
provisioning:
# Your secret for the API. Required for all provisioning API requests.
secret: 'warummussesdennsolangsein'
secret: '{{ matrix_appservice_webhooks_api_secret }}'

# Configuration related to the web portion of the bridge. Handles the inbound webhooks
web:


+ 1
- 0
roles/matrix-bridge-appservice-webhooks/tasks/validate_config.yml Целия файл

@@ -9,3 +9,4 @@
- "matrix_appservice_webhooks_appservice_token"
- "matrix_appservice_webhooks_homeserver_token"
- "matrix_appservice_webhooks_id_token"
- "matrix_appservice_webhooks_api_secret"

Зареждане…
Отказ
Запис