setup minio automation #229
2 changed files with 10 additions and 10 deletions
|
@ -16,3 +16,13 @@
|
||||||
|
|
||||||
- name: include policy tasks
|
- name: include policy tasks
|
||||||
ansible.builtin.include_tasks: policy.yml
|
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
|
||||||
|
|
|
@ -44,16 +44,6 @@
|
||||||
when: "'Access Keys:' not in item.stdout"
|
when: "'Access Keys:' not in item.stdout"
|
||||||
register: new_keys
|
register: new_keys
|
||||||
|
|
||||||
- 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
|
|
||||||
# verschieben ans ende
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue