# SPDX-FileCopyrightText: 2023 Julian-Samuel Gebühr
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- name: Delete cache files
  ansible.builtin.file:
    state: "{{ item }}"
    path: "{{ matrix_bot_matrix_registration_bot_data_path }}"
    mode: 0750
    owner: "{{ matrix_user_username }}"
    group: "{{ matrix_user_groupname }}"
  with_items:
    - absent
    - directory
