matrix-docker-ansible-deploy/roles/custom/matrix-bot-matrix-registration-bot/tasks/clean_cache.yml
Suguru Hirahara 1189673e4a
Add license information to files for matrix-bot-matrix-registration-bot
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-02-28 02:11:02 +09:00

17 lines
383 B
YAML

# 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