diff --git a/tasks/setup.yml b/tasks/setup.yml index b13ceb1..2b31d06 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml @@ -13,6 +13,7 @@ - name: Prepare folder structure file: path: "{{ item }}" + mode: 0750 state: directory loop: "{{ minio_data_dirs }}" @@ -59,6 +60,7 @@ template: src: "etc/systemd/system/minio.service.j2" dest: "/etc/systemd/system/minio.service" + mode: 0644 notify: __minio_restart - name: Ensure minio service is up and running