diff --git a/roles/mgrote_minio_configure/tasks/policy.yml b/roles/mgrote_minio_configure/tasks/policy.yml index 01f29fa1..d9d3f27a 100644 --- a/roles/mgrote_minio_configure/tasks/policy.yml +++ b/roles/mgrote_minio_configure/tasks/policy.yml @@ -26,7 +26,7 @@ mode: '0644' loop: "{{ minio_policies }}" -- name: setup minio policies ro +- name: setup minio policies rw ansible.builtin.command: "{{ minio_client_bin }} --dp admin policy create {{ minio_root_alias }} {{ item.bucket }}_rw {{ minio_config_dir }}/{{ item.bucket }}_rw" loop: "{{ minio_policies }}"