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