Function improvement
Function improvement

- Handle missing roles better
- Check for task existance
- Avoid too many repetitions when uploading templates
ff0000/red-fab-deploy2,ff0000/red-fab-deploy2,ff0000/red-fab-deploy2