From f7d3b8b9f5591004ddb2da5f29a2aa54f38775b0 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+Sporqist@users.noreply.github.com> Date: Sat, 11 Mar 2023 20:11:05 +0100 Subject: [PATCH] =?UTF-8?q?engere=20Zugriffsbeschr=C3=A4nkungen=20auf=20Da?= =?UTF-8?q?teien?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/main.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index cbabafe..cb7ccba 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -25,7 +25,7 @@ state: directory owner: "{{ git_user.uid }}" group: "{{ git_user.group }}" - mode: 0755 + mode: 0700 - name: Create Config Directory file: @@ -33,7 +33,7 @@ state: directory owner: "{{ git_user.uid }}" group: "{{ git_user.group }}" - mode: 0755 + mode: 0700 - name: Create Logging Directory file: @@ -41,7 +41,7 @@ state: directory owner: "{{ git_user.uid }}" group: "{{ git_user.group }}" - mode: 0755 + mode: 0700 - name: Start Docker Daemon systemd: @@ -54,14 +54,14 @@ src: environment.env.j2 dest: "/opt/gitea/environment.env" owner: root - mode: 0644 + mode: 0600 - name: Upload docker-compose.yaml ansible.builtin.template: src: docker-compose.yaml.j2 dest: /opt/gitea/docker-compose.yaml owner: root - mode: 0644 + mode: 0600 - name: Create Gitea container community.docker.docker_compose: