Peel the potatoes and cut them into large pieces, then place them in a clay pot. Next, add the octopus, olives, drizzle with olive oil and vinegar, and add the cloves along with the red pepper. Prepare a dough with the flour and spread it over the ingredients in the clay pot, making sure there are no gaps. Bake in the oven at 180°C (350°F) for 1 ½ hours.