summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2016-10-13 15:19:38 -0500
committerAndy Doan <andy.doan@linaro.org>2016-10-14 14:24:25 +0000
commit809f63bd0b384d981e120942c328d5f5f1831fd4 (patch)
treef54f3a32b1cf1a6101c106429e78984399b0086d /per-service
parentc850285b1d2f9b005e727898f9439406b3f2c71f (diff)
downloadansible-playbooks-809f63bd0b384d981e120942c328d5f5f1831fd4.tar.gz
cgit: use more ansible variables in config
We have some things hard-coded that will eventually be on a per-site basis. Change-Id: I66f4b92ece4eb53a6d5be9e697935358c3f18d00 Reviewed-on: https://review.linaro.org/14745 Reviewed-by: Ben Copeland <ben.copeland@linaro.org>
Diffstat (limited to 'per-service')
-rw-r--r--per-service/git-servers/group_vars/git1
-rw-r--r--per-service/git-servers/roles/cgit/templates/cgitrc4
2 files changed, 3 insertions, 2 deletions
diff --git a/per-service/git-servers/group_vars/git b/per-service/git-servers/group_vars/git
index 030f451..d12ea16 100644
--- a/per-service/git-servers/group_vars/git
+++ b/per-service/git-servers/group_vars/git
@@ -1,5 +1,6 @@
hosttype: git-main
git_host: git.linaro.org
host_site_name: Linaro Git Hosting
+host_site_desc: Git repositories hosted by Linaro
gitolite_help_url: https://wiki.linaro.org/Platform/Systems/Git
has_gerrit: true
diff --git a/per-service/git-servers/roles/cgit/templates/cgitrc b/per-service/git-servers/roles/cgit/templates/cgitrc
index ccdee0e..c940335 100644
--- a/per-service/git-servers/roles/cgit/templates/cgitrc
+++ b/per-service/git-servers/roles/cgit/templates/cgitrc
@@ -13,8 +13,8 @@ enable-index-owner=0
clone-prefix=https://{{git_host}} ssh://git@{{git_host}}
snapshots=tar.gz
-root-title=Linaro Git Repositories
-root-desc=Git repositories hosted by Linaro
+root-title={{host_site_name}}
+root-desc={{host_site_desc}}
logo=https://{{git_host}}/git-logo.png
max-repo-count=2000