Is there anything I can do with my in-door trashcans to prevent ants from getting into them?

I always recommend boric acid and peanut butter. Put some of each into a ziplock and smoosh around to mix. Then, snip a corner from the bag for a handy applicator.