homeserver/roles/mgrote_minio_configure/tasks/bucket.yml

11 lines
331 B
YAML

---
- name: Ensure buckets exists
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') }}"
loop: "{{ minio_buckets }}"
# state mit default