tasks/shell_task: conditionals & alternative commands