I have a horrible problem with ants. Almost all my beds are raised and quite amended. I have hundreds of colonies, not kidding! I actually would not mind them too much if they just did not bite!
My mom was visiting last week and put coffee grounds in an area I really wanted to plant with some sedum. Like cinnamon it does not kill them. But it got them to move along.