setup minio automation #229
1 changed files with 0 additions and 11 deletions
|
@ -35,14 +35,3 @@
|
|||
url: "{{ minio_url }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
loop: "{{ minio_users }}"
|
||||
|
||||
- name: "get all access keys (if set to true)"
|
||||
ansible.builtin.command: "{{ minio_client_bin }} --dp admin accesskey list {{ minio_root_alias }} --all"
|
||||
when: minio_print_keys
|
||||
register: all_keys
|
||||
changed_when: false
|
||||
|
||||
- name: "print all access keys (if set to true)"
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ all_keys.stdout_lines }}"
|
||||
when: minio_print_keys
|
||||
|
|
Loading…
Reference in a new issue