update Synapse module section of homeserver.yaml

This commit is contained in:
PC-Admin 2023-08-18 22:39:31 +08:00
parent 4590292e2d
commit 2944e642e5

View File

@ -55,17 +55,18 @@
modules: modules:
- module: redlight_client_module.RedlightClientModule - module: redlight_client_module.RedlightClientModule
config: config:
homeserver_url: "https://{{ server_name }}" homeserver_url: "{{ server_name }}"
redlight_alert_bot_token: "{{ redlight_bot_token }}" redlight_alert_bot_token: "{{ redlight_alert_bot_token }}"
redlight_alert_room: "{{ redlight_alert_room }}" redlight_alert_room: "{{ redlight_alert_room }}"
redlight_server: "https://{{ server_name }}/_matrix/loj/v1/abuse_lookup" redlight_server: "{{ redlight_server }}"
redlight_api_token: "{{ redlight_api_token }}" redlight_api_token: "{{ redlight_api_token }}"
- module: redlight_server_module.RedlightServerModule - module: redlight_server_module.RedlightServerModule
config: config:
source_repo_url: "https://code.glowers.club/api/v1/repos/testing-org/rdlist" redlight_source_repo_url: "https://code.glowers.club/api/v1/repos/testing-org/rdlist"
git_token: "{{ git_token }}" redlight_git_token: "{{ redlight_git_token }}"
source_list_file_path: "dist/summaries.json" redlight_source_list_file_path: "dist/summaries.json"
filtered_tags = ["csam", "anarchy"] redlight_client_tokens: "{{ redlight_client_tokens }}"
redlight_filtered_tags: "{{ redlight_filtered_tags }}"
state: present state: present
owner: root owner: root
group: root group: root