Heat the olive oil in a large casserole dish set over a medium heat. Sweat the onion, celery and carrot for 7-8 minutes, stirring occasionally, until softened. Add the potatoes and continue to cook for a further 4-5 minutes, stirring from time to time.
Add the gammon steak, canned beans and bay leaf, then cover with the stock. Bring to the boil, then reduce to a simmer. Add the bay leaf and cook for 15-20 minutes until the beans and vegetables are soft.
Add the macaroni and simmer for 10-12 minutes until al dente. Discard the bay leaf and adjust the seasoning to taste. Ladle into serving bowl and sprinkle some sliced basil on top before serving.
For top tips on protecting you and your family when preparing raw meat and poultry, visit Food Safety in the Home.