imfreedom/teamcity-ansible

host files shouldn't be executable...
draft
2020-01-12, Gary Kramlich
2a29011b43eb
file isExecutable
host files shouldn't be executable...
#!/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}" $@