This commit is contained in:
Michael Grote 2024-11-09 20:24:17 +01:00
parent 8bc994bfc2
commit ec15cd44fc
2 changed files with 4 additions and 2 deletions

View file

@ -22,7 +22,7 @@ minio_buckets:
- name: testbucket1
- name: testbucket3
minio_policies:
minio_policies: # pro nucket nur eine policy?
- bucket: testbucket1
policy: rw
- bucket: testbucket3

View file

@ -21,7 +21,9 @@
ansible.builtin.template:
dest: "{{ minio_config_dir }}/{{ item.bucket }}_rw"
src: policy_rw.j2
state: present
owner: root
group: root
mode: '0644'
loop: "{{ minio_policies }}"
- name: setup minio policies