nicht benötigigten Krams für SSH entfernt
This commit is contained in:
parent
e7a12a06a8
commit
d727bedad4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user