setup minio automation #229

Merged
mg merged 114 commits from minio_automation into master 2024-11-09 22:00:58 +01:00
Showing only changes of commit f9e0f025b6 - Show all commits

View file

@ -8,20 +8,12 @@
group: root group: root
mode: '0644' mode: '0644'
- name: create needed files
ansible.builtin.file:
path: "{{ minio_config_dir }}/{{ item.name }}"
state: touch
owner: root
group: root
mode: '0644'
loop: "{{ minio_policies }}"
- name: create policy files - name: create policy files
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
path: "{{ minio_config_dir }}/{{ item.name }}" path: "{{ minio_config_dir }}/{{ item.name }}"
block: "{{ item.policy }}" block: "{{ item.policy }}"
state: present state: present
create: true
loop: "{{ minio_policies }}" loop: "{{ minio_policies }}"
- name: setup minio policies - name: setup minio policies