imfreedom/teamcity-ansible

Install silc-toolkit on freebsd hosts
draft
2021-02-12, Gary Kramlich
139fc85f9136
file isExecutable
Install silc-toolkit on freebsd hosts
#!/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}" $@