setup minio automation #229
1 changed files with 3 additions and 3 deletions
|
@ -23,8 +23,8 @@
|
||||||
# > ./mc --dp admin accesskey list minio_root testuser7
|
# > ./mc --dp admin accesskey list minio_root testuser7
|
||||||
# User: testuser7
|
# User: testuser7
|
||||||
|
|
||||||
1. check if user has access keys
|
# 1. check if user has access keys
|
||||||
2. when not create one, else skip
|
# 2. when not create one, else skip
|
||||||
|
|
||||||
- name: get access keys
|
- name: get access keys
|
||||||
ansible.builtin.command: "{{ minio_client_bin }} --dp admin accesskey list {{ item.user }}"
|
ansible.builtin.command: "{{ minio_client_bin }} --dp admin accesskey list {{ item.user }}"
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
register: keys
|
register: keys
|
||||||
|
|
||||||
- name: debug
|
- name: debug
|
||||||
ansible.uiltin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "{{ keys }}"
|
msg: "{{ keys }}"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue