From e7968d488d9b53bef89c61f4828f184c9eb38b30 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 24 Mar 2020 09:49:28 +0100 Subject: [PATCH] Add missing keys --- ansible/post-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml index ca5ca75..c75b6fd 100644 --- a/ansible/post-deploy.yml +++ b/ansible/post-deploy.yml @@ -76,7 +76,7 @@ - name: Ensure git public key is in gitea loaded authorized_keys blockinfile: path: /var/lib/gitea/git/.ssh/authorized_keys - block: "{{ git_id_rsa_pub.stdout }}" + block: "no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty {{ git_id_rsa_pub.stdout }}" state: present owner: git group: git