From 0f001083314fb62c15be19732260e5b841c6bb51 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Fri, 28 Aug 2015 18:13:09 +0200 Subject: Don't hardcode some urls on the installed systems --- roles/sublab_web/templates/website-rebuild.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles') diff --git a/roles/sublab_web/templates/website-rebuild.sh.j2 b/roles/sublab_web/templates/website-rebuild.sh.j2 index 227fb65..1e4bc0b 100644 --- a/roles/sublab_web/templates/website-rebuild.sh.j2 +++ b/roles/sublab_web/templates/website-rebuild.sh.j2 @@ -4,7 +4,7 @@ # cd /var/www/{{sublab_web_server_name}}/htdocs -git fetch git://git.sublab.org/website.git master +git fetch git://{{ groups['gitservers'][0] }}/website.git master git reset --hard FETCH_HEAD cd scripts python template.py -- cgit v1.2.1