Peel the eggs and cut in half.
Put the yolks in a bowl and mash with a fork. Add cheese and pesto, olive oil and lemon juice, salt and pepper. Mix well.
Transfer the mixture to a pastry bag and fill the egg halves.