summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-13 01:04:56 +0100
committerMichael Scherer <misc@zarb.org>2014-12-13 01:04:56 +0100
commit0b07824364bdcf77c063cd8289a2c008ace870ca (patch)
tree62b68b6ef9c822e1da9dd792eaa776220062ec2d /roles
parent2c562a49bc29d98c29b4f4a17ef8a66cf5d114e9 (diff)
Add some way to have a private repository
Diffstat (limited to 'roles')
-rw-r--r--roles/cgit/templates/cgitrepos2
1 files changed, 2 insertions, 0 deletions
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 %}