diff --git a/roles/mgrote_minio_configure/tasks/bucket.yml b/roles/mgrote_minio_configure/tasks/bucket.yml index 4ac491da..a76fb3f6 100644 --- a/roles/mgrote_minio_configure/tasks/bucket.yml +++ b/roles/mgrote_minio_configure/tasks/bucket.yml @@ -6,5 +6,5 @@ access_key: "{{ minio_root_access_key }}" secret_key: "{{ minio_root_secret_key }}" url: "{{ minio_url }}" - state: absent + state: "{{ item.state | default('present') }}" # löschen geht nur mit leerem Bucket loop: "{{ minio_buckets }}"