dd
This commit is contained in:
parent
8bc994bfc2
commit
ec15cd44fc
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue