diff --git a/playbooks/roles/gerrit/tasks/main.yaml b/playbooks/roles/gerrit/tasks/main.yaml index 3c9d895b90..1c13df7508 100644 --- a/playbooks/roles/gerrit/tasks/main.yaml +++ b/playbooks/roles/gerrit/tasks/main.yaml @@ -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,