From 96fb47ece33221f4e3f4eda9ae747182f2b63058 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sat, 9 Nov 2024 21:19:13 +0100 Subject: [PATCH] matche alle beim file netfernen --- roles/mgrote_minio_configure/tasks/policy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mgrote_minio_configure/tasks/policy.yml b/roles/mgrote_minio_configure/tasks/policy.yml index 7eaac35d..95f54c3e 100644 --- a/roles/mgrote_minio_configure/tasks/policy.yml +++ b/roles/mgrote_minio_configure/tasks/policy.yml @@ -36,7 +36,7 @@ - name: "remove old policy files" ansible.builtin.file: - path: "{{ minio_config_dir }}/{{ item.name }}_ro" + path: "{{ minio_config_dir }}/{{ item.name }}*" state: absent loop: "{{ minio_buckets }}" when: '"absent" in item.state'