imfreedom/teamcity-ansible

modularize every role based on os

2019-11-10, Gary Kramlich
33043da9fe57
file isExecutable
modularize every role based on os
#!/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}" $@