diff --git a/roles/mgrote_minio_configure/tasks/bucket.yml b/roles/mgrote_minio_configure/tasks/bucket.yml index a76fb3f6..9c5c9c3d 100644 --- a/roles/mgrote_minio_configure/tasks/bucket.yml +++ b/roles/mgrote_minio_configure/tasks/bucket.yml @@ -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 }}"