From dc9a467d3e747419cfd4becdc80a56059161f1e4 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sat, 9 Nov 2024 20:25:05 +0100 Subject: [PATCH] dd --- roles/mgrote_minio_configure/tasks/policy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mgrote_minio_configure/tasks/policy.yml b/roles/mgrote_minio_configure/tasks/policy.yml index 15ac31c0..899bcb5f 100644 --- a/roles/mgrote_minio_configure/tasks/policy.yml +++ b/roles/mgrote_minio_configure/tasks/policy.yml @@ -27,7 +27,7 @@ loop: "{{ minio_policies }}" - name: setup minio policies - ansible.builtin.command: "{{ minio_client_bin }} --dp admin policy create {{ item.name }} {{ minio_config_dir }}/{{ item.name }}" + ansible.builtin.command: "{{ minio_client_bin }} --dp admin policy create {{ item.bucket }} {{ minio_config_dir }}/{{ item.bucket }}" loop: "{{ minio_policies }}" - name: Assign MinIO policies to users