28 lines
934 B
YAML
28 lines
934 B
YAML
---
|
|
#- name: include client tasks # einkommentieren!!!!!!!!!!!!!!
|
|
# ansible.builtin.include_tasks: client.yml
|
|
|
|
- name: ensure alias exists
|
|
ansible.builtin.command: "{{ minio_client_bin }} --dp alias set {{ minio_root_alias }} {{ minio_url }} {{ minio_root_access_key }} {{ minio_root_secret_key }}"
|
|
|
|
- name: include user tasks
|
|
ansible.builtin.include_tasks: user.yml
|
|
|
|
- name: include bucket tasks
|
|
ansible.builtin.include_tasks: bucket.yml
|
|
|
|
- name: include policy tasks
|
|
ansible.builtin.include_tasks: policy.yml
|
|
|
|
- name: include policy tasks
|
|
ansible.builtin.include_tasks: policy.yml
|
|
|
|
- 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.stdout_lines }}"
|
|
when: minio_print_keys
|