setup minio automation #229
1 changed files with 7 additions and 1 deletions
|
@ -3,7 +3,13 @@
|
|||
# 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 }}"
|
||||
# ansible.builtin.command: "{{ minio_client_bin }} --dp alias set {{ minio_root_alias }} {{ minio_url }} {{ minio_root_access_key }} {{ minio_root_secret_key }}"
|
||||
dubzland.minio.minio_alias:
|
||||
name: {{ minio_root_alias }}
|
||||
url: {{ minio_url }}
|
||||
access_key: {{ minio_root_access_key }}
|
||||
secret_key: {{ minio_root_secret_key }}
|
||||
state: present
|
||||
|
||||
- name: include user tasks
|
||||
ansible.builtin.include_tasks: user.yml
|
||||
|
|
Loading…
Reference in a new issue