Add missing keys
This commit is contained in:
parent
eabbcf8eed
commit
e7968d488d
@ -76,7 +76,7 @@
|
|||||||
- name: Ensure git public key is in gitea loaded authorized_keys
|
- name: Ensure git public key is in gitea loaded authorized_keys
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /var/lib/gitea/git/.ssh/authorized_keys
|
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
|
state: present
|
||||||
owner: git
|
owner: git
|
||||||
group: git
|
group: git
|
||||||
|
Reference in New Issue
Block a user