homeserver/roles/mgrote_minio_configure/tasks/bucket.yml
2024-11-09 21:20:59 +01:00

10 lines
339 B
YAML

---
- name: Setup buckets
dubzland.minio.minio_bucket:
name: "{{ item.name }}"
auth:
access_key: "{{ minio_root_access_key }}"
secret_key: "{{ minio_root_secret_key }}"
url: "{{ minio_url }}"
state: "{{ item.state | default('present') }}" # löschen geht nur mit leerem Bucket
loop: "{{ minio_buckets }}"