# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

# Files used to be installed by the `matrix-base` role into `/matrix/static-files/.well-known/*`.
# Such files are now generated by the `matrix-static-files` role into a slightly different path: `/matrix/static-files/public/.well-known/*`.

- name: Ensure old /matrix/static-files/.well-known files are deleted
  ansible.builtin.file:
    path: "{{ matrix_base_data_path }}/static-files/.well-known"
    state: absent
