gerrit: set ownership on ~gerrit2/.ssh directory

Currently is is 0700 and owned by root, so the gerrit2 user can't
access the keys in there by default (in production this is already
correct).  This is the key used to push replication to gitea for
example.

Change-Id: Ie0230cd74aeb3e759a597c999b2507260f2b6c17
This commit is contained in:
Ian Wienand 2020-11-27 10:48:26 +11:00
parent 54a62d9aaf
commit f0e5d78ba7

View File

@ -143,6 +143,8 @@
file:
state: directory
path: "{{ gerrit_home_dir }}/.ssh"
owner: "{{ gerrit_user_name }}"
group: "{{ gerrit_user_name }}"
mode: 0700
# Private key for gerrit user to connect to other systems,