Only if the ants have regular access to the outside of the tubing AND the tubing leads somewhere you don't want them to go. Bear in mind that "deterrent" is not necessarily "repellant".

If you enjoy my expertise and identifications, please do not put wild populations at risk of disease by releasing pet colonies. We are responsible to give our pets the best care we can manage for the rest of their lives.