From 48d8a5a20461fc7b4ce223c18eacbca769ead0cd Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sat, 9 Nov 2024 18:45:03 +0100 Subject: [PATCH] dd --- roles/mgrote_minio_configure/tasks/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/mgrote_minio_configure/tasks/main.yml b/roles/mgrote_minio_configure/tasks/main.yml index d1b98f76..ac3ca2bd 100644 --- a/roles/mgrote_minio_configure/tasks/main.yml +++ b/roles/mgrote_minio_configure/tasks/main.yml @@ -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