summaryrefslogtreecommitdiffstats
path: root/roles/cgit/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-13 01:03:20 +0100
committerMichael Scherer <misc@zarb.org>2014-12-13 01:03:20 +0100
commit2c562a49bc29d98c29b4f4a17ef8a66cf5d114e9 (patch)
tree08cf6ee669cab52ace3ede524bc91dae45e83031 /roles/cgit/templates
parentc5fb1a829d6cb80d2af4620308f91e68ce282476 (diff)
Use a template rather than hardcoding the git repositories
Diffstat (limited to 'roles/cgit/templates')
-rw-r--r--roles/cgit/templates/cgitrepos8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/cgit/templates/cgitrepos b/roles/cgit/templates/cgitrepos
new file mode 100644
index 0000000..e5b2cd6
--- /dev/null
+++ b/roles/cgit/templates/cgitrepos
@@ -0,0 +1,8 @@
+{% if git_repositories is defined %}
+{% for repo in git_repositories %}
+repo.url={{ repo.name }}
+repo.path={{ repo.path }}
+repo.desc={{ repo.desc }}
+repo.owner={{ repo.owner }}
+{% endfor %}
+{% endif %}