summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2015-08-28 18:13:09 +0200
committerChristian Franke <nobody@nowhere.ws>2015-08-28 18:13:52 +0200
commit0f001083314fb62c15be19732260e5b841c6bb51 (patch)
tree1b9c87ce931d40e41e027e28a5987f13afeb9c57 /roles
parent6a8b1427d435c7825e8fb11cdd9352b711e1fd92 (diff)
Don't hardcode some urls on the installed systems
Diffstat (limited to 'roles')
-rw-r--r--roles/sublab_web/templates/website-rebuild.sh.j22
1 files changed, 1 insertions, 1 deletions
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