From 0b07824364bdcf77c063cd8289a2c008ace870ca Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 13 Dec 2014 01:04:56 +0100 Subject: Add some way to have a private repository --- roles/cgit/templates/cgitrepos | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/cgit/templates/cgitrepos b/roles/cgit/templates/cgitrepos index e5b2cd6..e24dca1 100644 --- a/roles/cgit/templates/cgitrepos +++ b/roles/cgit/templates/cgitrepos @@ -1,8 +1,10 @@ {% if git_repositories is defined %} {% for repo in git_repositories %} +{% if not repo.private %} repo.url={{ repo.name }} repo.path={{ repo.path }} repo.desc={{ repo.desc }} repo.owner={{ repo.owner }} +{% endif %} {% endfor %} {% endif %} -- cgit