Heat the vegetable oil in a pan over medium-high heat. Add the onion and cook about 2 minutes, until translucent. Add the garlic and turmeric and cook 1 minute.
Add the ground beef, salt, pepper, cinnamon, allspice, cardamom, ground ginger (if using), coriander, cumin, dried cilantro, and red pepper. Cook over medium-high heat about 10 minutes, until browned. Drain and cool slightly, then stir in the green onions.
Lay out one egg roll wrapper at a time, with a corner pointing toward you. Brush the edges with egg yolk. Spoon about 1/4 cup filling onto the bottom third of the wrapper. Fold the bottom corner up over the filling, fold in the sides, and roll it up, sealing the top corner. Any leftover filling is good in pita or over rice.
Heat the 3 cups oil in a deep skillet or pot to 350°F. Fry the egg rolls in batches about 2 to 3 minutes, turning as needed, until evenly golden brown and crispy. Drain on a paper towel-lined plate. Let the oil return to 350°F between batches.
For the aioli, mix all of the aioli ingredients in a bowl until combined. Serve with the sambousek.