matche alle beim file netfernen

This commit is contained in:
Michael Grote 2024-11-09 21:19:13 +01:00
parent e0f057cd96
commit 96fb47ece3

View file

@ -36,7 +36,7 @@
- name: "remove old policy files" - name: "remove old policy files"
ansible.builtin.file: ansible.builtin.file:
path: "{{ minio_config_dir }}/{{ item.name }}_ro" path: "{{ minio_config_dir }}/{{ item.name }}*"
state: absent state: absent
loop: "{{ minio_buckets }}" loop: "{{ minio_buckets }}"
when: '"absent" in item.state' when: '"absent" in item.state'