Until your plan is in place, just... avoid fungus? And then ready your flame throwers.
That's the heart of what is happening here: the fungus somehow forces the ant to do exactly what it wants. The ant first acts as a personal transportation service, conveying the fungus to exactly where it wants to be (the leafy forest floor), and then the ant dies and becomes an abundant food source for the fungus. The fungus even forces the ant to clamp its mandibles onto a desirable leaf habitat, where it stays locked until its death.
(Via Tanita's Facebook page.)