What I have done is move the pile and sprinkled fire ant killer on the ground where the pile sits. Then a day or two later moved the pile back and while doing that added plenty of green to the pile to get it heated up pretty good. I guess the heat drives the ants out. I turn it often after doing this because I don't want it to get too hot!
Yes, the compost pile is on the ground. I discovered the fire ant nest w/ eggs towards the bottom of the pile while turning it over.
I’ll give your suggestion a try today, thanks.