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: