setup minio automation #229

Merged
mg merged 114 commits from minio_automation into master 2024-11-09 22:00:58 +01:00
Showing only changes of commit 08e689cd33 - Show all commits

View file

@ -32,11 +32,11 @@
loop: "{{ minio_users }}"
register: keys
- name: debug
- name: Debug: Print users with access keys
ansible.builtin.debug:
msg: "{{ keys }}"
when: '"Access Keys:" in keys.item.stdout'
msg: "User {{ item.item.name }} has access keys: {{ item.stdout }}"
loop: "{{ keys.results }}"
when: "'Access Keys:' in item.stdout"
- name: setup minio users
ansible.builtin.command: "{{ minio_client_bin }} --dp admin user add {{ minio_root_alias }} {{ item.name }} {{ item.secret }}"