summaryrefslogtreecommitdiff
path: root/roles/gitserver/tasks/as_gituser.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/gitserver/tasks/as_gituser.yaml')
-rw-r--r--roles/gitserver/tasks/as_gituser.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/gitserver/tasks/as_gituser.yaml b/roles/gitserver/tasks/as_gituser.yaml
index 69157fd..9c4b67c 100644
--- a/roles/gitserver/tasks/as_gituser.yaml
+++ b/roles/gitserver/tasks/as_gituser.yaml
@@ -11,3 +11,8 @@
- name: Initialize gitolite and restore backup
include: restore_gitolite.yaml
when: not gitolite_dir.stat.exists
+
+- name: Put Post-update-hook for website
+ template: dest=/var/lib/gitolite/repositories/website.git/hooks/post-update
+ mode=0755
+ src=website-post-update-hook.j2