From 354c887602254f5468ebdd0503b6045018a87160 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 3 Jan 2024 17:11:39 +0200 Subject: [PATCH] Fix incorrect variable name --- roles/custom/matrix-static-files/tasks/main.yml | 1 + .../matrix-static-files/tasks/self_check_well_known.yml | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/roles/custom/matrix-static-files/tasks/main.yml b/roles/custom/matrix-static-files/tasks/main.yml index 267e69b6d..7b5f25377 100644 --- a/roles/custom/matrix-static-files/tasks/main.yml +++ b/roles/custom/matrix-static-files/tasks/main.yml @@ -21,5 +21,6 @@ - tags: - self-check + - self-check-matrix-static-files block: - ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_well_known.yml" diff --git a/roles/custom/matrix-static-files/tasks/self_check_well_known.yml b/roles/custom/matrix-static-files/tasks/self_check_well_known.yml index ed0958b91..b6b8f5494 100644 --- a/roles/custom/matrix-static-files/tasks/self_check_well_known.yml +++ b/roles/custom/matrix-static-files/tasks/self_check_well_known.yml @@ -1,7 +1,5 @@ --- -# TODO - deprecate the old variables in the matrix-nginx-proxy role - - name: Determine well-known files to check (start with /.well-known/matrix/client) ansible.builtin.set_fact: well_known_file_checks: @@ -11,7 +9,7 @@ follow_redirects: "{{ matrix_static_files_self_check_well_known_matrix_client_follow_redirects }}" validate_certs: "{{ matrix_static_files_self_check_validate_certificates }}" -- when: matrix_well_known_matrix_server_enabled | bool +- when: matrix_static_files_file_matrix_server_enabled | bool block: - name: Prepare /.well-known/matrix/server to well-known files to check, if enabled ansible.builtin.set_fact: