#! /bin/sh if [ -z "$2" ]; then echo "Usage: $0 host vhost [...params...]" >&2 exit 1 fi host="$1" shift vhost="$1" shift cd "`dirname \"$0\"`" && exec ../run-roles debian/add-apache-vhost "$@" \ -e virtual_host="$vhost" -e gather_facts=true -e hosts="$host"