This commit is contained in:
Michael Grote 2024-11-09 21:25:17 +01:00
parent 4a3c185f20
commit 97aa8f51ae

View file

@ -8,3 +8,9 @@
url: "{{ minio_url }}"
state: "{{ item.state | default('present') }}" # löschen geht nur mit leerem Bucket
loop: "{{ minio_buckets }}"
- name: Deletion Info
ansible.builtin.debug:
msg: "Deletion only possible with empty bucket ({{ item.name }})"
when: '"absent" in item.state'
loop: "{{ minio_buckets }}"