clenaning up the ssh forwarder from the gitea role
ben/infra/pipeline/head This commit looks good Details

pull/47/head
Ben Kristinsson 3 months ago
parent 6de13be2f8
commit 0d1f85a205

@ -55,32 +55,6 @@
tags:
- gitea-mirror
- name: template ssh passthrough script
template:
src: ssh-passthrough.j2
dest: /usr/local/bin/gitea
mode: 0755
owner: git
group: git
when: gitea_ssh_enabled
tags:
- gitea-mirror
- name: copy the ssh keys used for the ssh shim (gitea manages authorized_keys)
copy:
src: "private/gitea/{{ item.name }}"
dest: "{{ gitea_user.home }}/.ssh/{{ item.name }}"
mode: "{{ item.mode }}"
owner: "{{ gitea_user.username }}"
group: "{{ gitea_user.username }}"
no_log: true
when: gitea_ssh_enabled
with_items:
- name: id_rsa
mode: "0600"
- name: id_rsa.pub
mode: "0644"
- name: template config
template:
src: app.ini.j2

@ -1 +0,0 @@
ssh -o StrictHostKeyChecking=no git@{{ bridgewithdns.gitea }} "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
Loading…
Cancel
Save