Ants are attracted to the sugary substance that peonies secrete when they are in tight bud form. They are not necessary for the peony to open, if the ants are a nuisance, you can either apply an ant block product to the base of your peony or give them a good shake before you bring them into the house.