imfreedom/teamcity-ansible

78dfb3cd7842
file isExecutable
Lots of stuff because i'm horrible at committing this stuff
#!/bin/sh -e
if [ "${#}" -lt 1 ]; then
echo "You must specify an inventory file to use"
exit 1
fi
INVENTORY="${1}"
shift
ansible-playbook -b agent.yml -i "${INVENTORY}" $@