From d727bedad403d5138a608ad3dec0a87794d69755 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+Sporqist@users.noreply.github.com> Date: Fri, 11 Nov 2022 14:02:31 +0100 Subject: [PATCH] =?UTF-8?q?nicht=20ben=C3=B6tigigten=20Krams=20f=C3=BCr=20?= =?UTF-8?q?SSH=20entfernt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/main.yaml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index 7396d73..77e353f 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -28,22 +28,6 @@ group: "{{ git_user.group }}" mode: '0755' -- name: Create SSH Directory - file: - path: "{{ git_user.home }}/gitea/ssh" - state: directory - owner: "{{ git_user.uid }}" - group: "{{ git_user.group }}" - mode: '0755' - -- name: Create SSH authorized_keys - file: - path: "{{ git_user.home }}/gitea/ssh/authorized_keys" - state: touch - owner: "{{ git_user.uid }}" - group: "{{ git_user.group }}" - mode: '0600' - - name: Start Docker Daemon systemd: name: docker @@ -61,10 +45,7 @@ restart_policy: unless-stopped volumes: - "{{ git_user.home }}/gitea/data:/var/lib/gitea" - - "{{ git_user.home }}/gitea/ssh:/var/lib/gitea/git/.ssh" - "{{ git_user.home }}/gitea/config:/etc/gitea" - #- /data:/var/lib/gitea - #- /config:/etc/gitea - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro ports: