We live in the desert and have small but very sturdy ants with blocky heads. They appear in waves and will avoid cinnamon but what works best for them is noise. Bang a pot lid near them and they zoom back out the way they come in. We’ve gotten them trained so tapping a spoon will even get them skedaddling. These ants drown easily so we’re careful not to leave puddles or crumbs of food around. When we do slip up and there are hundreds appearing out of nowhere, the spoon or pot lid has them disappear in moments..