#!/bin/sh -e # # {{ ansible_managed }} # cd /var/www/{{sublab_web_server_name}}/htdocs if [ x"$1" != x"-l" ]; then git fetch git://{{ groups['gitservers'][0] }}/website.git master git reset --hard FETCH_HEAD fi cd scripts python template.py python wikitemplate.py > ../../wiki-page.tmpl