setup minio automation #229
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@
|
|||
ansible.builtin.command: "{{ minio_client_bin }} --dp admin accesskey create {{ minio_root_alias }} {{ item.item.name }}"
|
||||
loop: "{{ keys.results }}"
|
||||
when: "'Access Keys:' not in item.stdout"
|
||||
register: new_keys
|
||||
|
||||
- name: Output newly created access keys
|
||||
ansible.builtin.debug:
|
||||
|
|
Loading…
Reference in a new issue