aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host_vars/vm2.yml5
-rw-r--r--roles/stagit/tasks/main.yml2
2 files changed, 6 insertions, 1 deletions
diff --git a/host_vars/vm2.yml b/host_vars/vm2.yml
index 969359c..cef4ac3 100644
--- a/host_vars/vm2.yml
+++ b/host_vars/vm2.yml
@@ -15,3 +15,8 @@ services:
proto: "tcp"
port: "1234"
domain: "git"
+
+ - name: "gitdeamon"
+ proto: "tcp"
+ port: "9418"
+ public: true
diff --git a/roles/stagit/tasks/main.yml b/roles/stagit/tasks/main.yml
index 9144d81..33a26be 100644
--- a/roles/stagit/tasks/main.yml
+++ b/roles/stagit/tasks/main.yml
@@ -57,7 +57,7 @@
cron:
name: "Static git-page generation"
minute: "*/5"
- job: "cd /var/www/htdocs/stagit && ./generate-static-git.sh"
+ job: "cd /var/www/htdocs/stagit && ./generate-static-git.sh >/dev/null 2>&1"
- name: execute static-page generation script once
shell: ./generate-static-git.sh
remember that computers suck.