Depends on how you feel about it, but I'd use something like Termidor SC or the generic Taurus SC to spray for ants. It's the same chemical that is in Frontline for dogs (Fipronil). It's not safe for cats until a day or two later-- dry, that is the only real risk. (Unless you have chickens, it's bad for them too...) For most mammals it's considered safe, they feed it to dogs, obviously. I used it to treat termites in Iowa and is super effective stuff. I did see another ant for years near where I treated. It's up to you but it's probably the best solution out there. The other chemical that is similar, Premise, is a neonicotinoid (imidaclorprid) -- that is considered less safe.
It's good if you have a cricket problem as well...
However, compared to other pesticides that you will have to apply every few weeks, the probably once every three years of the termite treatment, to me seems the safest. In most places it is legal to use 4x a year but If you mix some into the dirt around the pool, I doubt if you'd have to do it again for at least a year. It appears to be legal in Florida.
Taurus SC Termiticide
www.domyown.com
Both of these chemicals mentioned are noted to have effect on the bee population. Never spray them above the ground or at bees or other flying insects. I hate to see Fipronel get banned because of people being stupid, but it's starting to look as if there is a possibility of that, and it's happened in at least one more state since I used it last. As long as you apply it to the ground or underground in the dirt-- which is a good idea if you can do it, a very shallow trench around the pool-- it's safe for bugs above the ground.
It is a "non-repellent" type chemical, meaning that the ants and termites can't detect it. They end up feeding it to their queen, and like you've heard probably with bee populations, it causes the colony to collapse.
My go to for above ground bugs that is VERY safe the is chemical Permethrin.
Permethrin is an insecticide in the pyrethroid family. Pyrethroids are synthetic chemicals that act like natural extracts from the chrysanthemum flower.
They use it to spray clothing and tents in Africa to prevent malaria. It's a repellent type insecticide and is considered very safe. It's used for head lice treatment, but in some cases the lice are now resistant to it. But this is a great one to recommend to anyone who is concerned about pesticides. You'll have to apply that at least once a month to the ants, but I'd have no issues recommending it to people who would be tempted to be stupid in its use, or who are very afraid of chemicals.
Hi-Yield 38-Plus Insect Control 38% Permethrin
www.domyown.com
One "natural" alternative to these that is reported to work on ants and termites, especially with respect to around wood is Borates.. if you have boric acid already for the pool, you can treat for ants with it. I will leave that up to your Google-fu skills but it's effective and what was used in the old days before these fancy chemicals came around.