Ants hate em...they'll bring aphids, white flies,etc. aerate the roots but could also do damage down there...some organic tricks to get rid of them find some food grade DE Diatomaceous Earth this will cut there exoskeletons and dry them out all bugs...ants will try to avoid walking on it but their fkd after doing it, also is a source of Silica and other micro nutrients.
borax mix it with either sugar, syrup, jelly... Put it in corners or away from plants, in bottle caps, or something other than direct on the soil..acts as a bait, if its too strong they will die trying to take it home, mixed right they'll get it home to da queen where they will try to have a feast and all will die, lil punks are smart too though they can learn and stay away from it..it's its too strong or too weak..mixing rates can find on the net cant remember exactly how I did it b4.
Then if you don't want to go the org route...then maybe Sevin Insect Granules..will kill alot of diff bugs and ants..some ants it won't ...it's Suppose to be safe for veggies etc..up to couple days to weeks before harvest..hope fat helps.