Add ansible target

This commit is contained in:
jalr 2018-03-22 20:54:50 +01:00
parent c6313d9848
commit ceeb370d39
2 changed files with 26 additions and 0 deletions

View file

@ -88,4 +88,8 @@ fi
if [ -z "$TASK" ] || [ "$TASK" == "torrent" ]; then
make_torrent "$NAME.squashfs"
fi
if [ "$TASK" == "ansible" ]; then
cd /ansible
/usr/bin/ansible-playbook "$@"
fi