imfreedom/teamcity-ansible

5f70c4885fc2
file isExecutable
Add a role to install cron-apt if we're running on debian
#!/bin/sh -e
if [ "${#}" -lt 1 ]; then
echo "You must specify an inventory file to use"
exit 1
fi
INVENTORY="${1}"
shift
ANSIBLE_NOCOWS=1 ansible-playbook -b agent.yml -i "${INVENTORY}" $@