Put the peppers, aubergine, courgette, onion, rosemary and thyme in a large roasting tin. Drizzle over the oil, season with salt and pepper and toss until evenly coated in the oil, then spread out in a single layer. Roast a preheated oven, 200°C (400°F), Gas Mark 6, for 20 minutes until starting to soften.
Add the tomatoes, mushrooms and garlic cloves and mix with the other vegetables, then roast for a further 10 minutes until all the vegetables are tender.
Squeeze the soft garlic out of its skin on to the vegetables in the tin. Add the beans and vinegar and mix well. Return to the oven for a final 10 minutes. Scatter over the olives and serve with crusty bread.