]> git.phdru.name Git - ansible.git/blob - playbooks/debian/add-apache-vhost
Feat(run-roles): Run a list of roles separated by comma
[ansible.git] / playbooks / debian / add-apache-vhost
1 #! /bin/sh
2
3 if [ -z "$1" ]; then
4    echo "Usage: $0 vhost [...params...]" >&2
5    exit 1
6 fi
7
8 vhost="$1"
9 shift
10
11 cd "`dirname \"$0\"`" &&
12 ANSIBLE_ROLES_PATH=debian/roles:roles \
13    exec ../run-roles add-apache-vhost "$@" \
14       -e virtual_host="$vhost" -e gather_facts=true