summaryrefslogtreecommitdiffstats
path: root/roles/git_repositories
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-13 12:43:03 +0100
committerMichael Scherer <misc@zarb.org>2014-12-13 12:43:03 +0100
commit9f9c750ecfa1e2e8bd7560036e34ba27acb35dd3 (patch)
tree095ab5b232747f46e8671cab0ceb3e4c5e09aa38 /roles/git_repositories
parent1ed41f8d6709ecd6eb0276103b1449c0164a9e7c (diff)
Add a description to each git repo
Diffstat (limited to 'roles/git_repositories')
-rw-r--r--roles/git_repositories/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/git_repositories/tasks/main.yml b/roles/git_repositories/tasks/main.yml
index dd68deb..6aed84e 100644
--- a/roles/git_repositories/tasks/main.yml
+++ b/roles/git_repositories/tasks/main.yml
@@ -26,3 +26,9 @@
path: "{{ git_repositories_dir }}/{{ item.name }}/git-daemon-export-ok"
state: "{% if item.private is defined and item.private %}absent{% else %}touch{% endif %}"
with_items: git_repositories
+
+- template:
+ path: "{{ git_repositories_dir }}/{{ item.name }}/description"
+ content: "{{ item.desc }}"
+ with_items: git_repositories
+