aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/tasks/git-daemon.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/tasks/git-daemon.yml')
-rw-r--r--roles/git/tasks/git-daemon.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/git/tasks/git-daemon.yml b/roles/git/tasks/git-daemon.yml
new file mode 100644
index 0000000..793275c
--- /dev/null
+++ b/roles/git/tasks/git-daemon.yml
@@ -0,0 +1,14 @@
+
+- name: Install git-daemon-sysvinit package
+ apt: pkg={{ item }} state=installed
+ with_items:
+ - git-daemon-sysvinit
+ tags:
+ - dependencies
+
+- name: Configure git-daemon
+ template: src=etc_default_git-daemon.j2
+ dest=/etc/default/git-daemon
+ group=root
+ owner=root
+ notify: git-daemon restart