Ver a proveniência

Fix incorrect variable name

pull/3093/head
Slavi Pantaleev há 2 anos
ascendente
cometimento
354c887602
2 ficheiros alterados com 2 adições e 3 eliminações
  1. +1
    -0
      roles/custom/matrix-static-files/tasks/main.yml
  2. +1
    -3
      roles/custom/matrix-static-files/tasks/self_check_well_known.yml

+ 1
- 0
roles/custom/matrix-static-files/tasks/main.yml Ver ficheiro

@@ -21,5 +21,6 @@


- tags: - tags:
- self-check - self-check
- self-check-matrix-static-files
block: block:
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_well_known.yml" - ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_well_known.yml"

+ 1
- 3
roles/custom/matrix-static-files/tasks/self_check_well_known.yml Ver ficheiro

@@ -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) - name: Determine well-known files to check (start with /.well-known/matrix/client)
ansible.builtin.set_fact: ansible.builtin.set_fact:
well_known_file_checks: well_known_file_checks:
@@ -11,7 +9,7 @@
follow_redirects: "{{ matrix_static_files_self_check_well_known_matrix_client_follow_redirects }}" follow_redirects: "{{ matrix_static_files_self_check_well_known_matrix_client_follow_redirects }}"
validate_certs: "{{ matrix_static_files_self_check_validate_certificates }}" 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: block:
- name: Prepare /.well-known/matrix/server to well-known files to check, if enabled - name: Prepare /.well-known/matrix/server to well-known files to check, if enabled
ansible.builtin.set_fact: ansible.builtin.set_fact:


Carregando…
Cancelar
Guardar