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: