diff --git a/playbooks/roles/gerrit/templates/projects.ini.j2 b/playbooks/roles/gerrit/templates/projects.ini.j2 index f2b36a917a..20b0d505d6 100644 --- a/playbooks/roles/gerrit/templates/projects.ini.j2 +++ b/playbooks/roles/gerrit/templates/projects.ini.j2 @@ -3,7 +3,7 @@ homepage=https://opendev.org acl-dir=/opt/project-config/gerrit/acls local-git-dir=/opt/lib/git jeepyb-cache-dir=/opt/lib/jeepyb -gerrit-host=localhost +gerrit-host={{ gerrit_vhost_name }} gerrit-user={{ gerrit_project_creator_user }} gerrit-committer=OpenDev Project Creator gerrit-key=/home/gerrit2/review_site/etc/ssh_project_rsa_key