homeserver/roles/mgrote_minio_configure/tasks/user.yml
2024-11-09 18:49:50 +01:00

21 lines
478 B
YAML

---
- name: Add a Minio user
dubzland.minio.minio_user:
access_key: "{{ item.name }}"
secret_key: "{{ item.secret }}"
auth:
access_key: "{{ minio_root_access_key }}"
secret_key: "{{ minio_root_secret_key }}"
url: "{{ minio_url }}"
state: "{{ item.state | default('present') }}"
# policy:
delegate_to: localhost
loop: "{{ minio_users }}"
# no_log überall bei keys und users
# linter
# succssfu/changed_when
# state absent einbauen