From 9f9c750ecfa1e2e8bd7560036e34ba27acb35dd3 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 13 Dec 2014 12:43:03 +0100 Subject: Add a description to each git repo --- roles/git_repositories/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles') 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 + -- cgit