From 2944e642e559b3c0a5a5679ff3133de746cdea76 Mon Sep 17 00:00:00 2001 From: PC-Admin Date: Fri, 18 Aug 2023 22:39:31 +0800 Subject: [PATCH] update Synapse module section of homeserver.yaml --- roles/setup-redlight/tasks/setup_redlight.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/roles/setup-redlight/tasks/setup_redlight.yml b/roles/setup-redlight/tasks/setup_redlight.yml index 7bf5bf6..f33edc1 100644 --- a/roles/setup-redlight/tasks/setup_redlight.yml +++ b/roles/setup-redlight/tasks/setup_redlight.yml @@ -55,17 +55,18 @@ modules: - module: redlight_client_module.RedlightClientModule config: - homeserver_url: "https://{{ server_name }}" - redlight_alert_bot_token: "{{ redlight_bot_token }}" + homeserver_url: "{{ server_name }}" + redlight_alert_bot_token: "{{ redlight_alert_bot_token }}" 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 }}" - module: redlight_server_module.RedlightServerModule config: - source_repo_url: "https://code.glowers.club/api/v1/repos/testing-org/rdlist" - git_token: "{{ git_token }}" - source_list_file_path: "dist/summaries.json" - filtered_tags = ["csam", "anarchy"] + redlight_source_repo_url: "https://code.glowers.club/api/v1/repos/testing-org/rdlist" + redlight_git_token: "{{ redlight_git_token }}" + redlight_source_list_file_path: "dist/summaries.json" + redlight_client_tokens: "{{ redlight_client_tokens }}" + redlight_filtered_tags: "{{ redlight_filtered_tags }}" state: present owner: root group: root