setup minio automation #229
1 changed files with 7 additions and 1 deletions
|
@ -44,9 +44,15 @@
|
|||
when: "'Access Keys:' not in item.stdout"
|
||||
register: new_keys
|
||||
|
||||
- name: Print all access keys (is set to true)
|
||||
- name: get all access keys (is set to true)
|
||||
ansible.builtin.command: "{{ minio_client_bin }} --dp admin accesskey list {{ minio_root_alias }} --all"
|
||||
when: minio_print_keys
|
||||
register: all_keys
|
||||
|
||||
- name: geprintt all access keys (is set to true)
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ all_keys }}"
|
||||
when: minio_print_keys
|
||||
# verschieben ans ende
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue