From 2434c0a32c34d71343a2036130b3ae90151f28fa Mon Sep 17 00:00:00 2001 From: binary Date: Wed, 16 Dec 2020 11:03:38 +0100 Subject: Move gitdaemon in git role --- roles/stagit/tasks/main.yml | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'roles/stagit') diff --git a/roles/stagit/tasks/main.yml b/roles/stagit/tasks/main.yml index e0c513d..830416e 100644 --- a/roles/stagit/tasks/main.yml +++ b/roles/stagit/tasks/main.yml @@ -59,17 +59,6 @@ minute: "5" job: "cd /var/www/htdocs/stagit && ./generate-static-git.sh" -- name: enable gitdaemon - lineinfile: - path: /etc/rc.conf.local - regexp: "^gitdaemon_flags=" - line: "gitdaemon_flags=--reuseaddr --base-path=/data/git" - -- name: start gitdaemon - service: - name: gitdaemon - state: restarted - - name: execute static-page generation script once shell: ./generate-static-git.sh args: -- cgit v1.2.3