setup minio automation #229

Merged
mg merged 114 commits from minio_automation into master 2024-11-09 22:00:58 +01:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit ec15cd44fc - Show all commits

View file

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

View file

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