nicht benötigigten Krams für SSH entfernt

This commit is contained in:
Marius Alwan Meyer 2022-11-11 14:02:31 +01:00
parent e7a12a06a8
commit d727bedad4

View File

@ -28,22 +28,6 @@
group: "{{ git_user.group }}" group: "{{ git_user.group }}"
mode: '0755' 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 - name: Start Docker Daemon
systemd: systemd:
name: docker name: docker
@ -61,10 +45,7 @@
restart_policy: unless-stopped restart_policy: unless-stopped
volumes: volumes:
- "{{ git_user.home }}/gitea/data:/var/lib/gitea" - "{{ 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" - "{{ git_user.home }}/gitea/config:/etc/gitea"
#- /data:/var/lib/gitea
#- /config:/etc/gitea
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
ports: ports: