For legionella, you need a rather high temperature (higher than 20C where they are dormant, up to around 45C).
Personally, I would put them outside the greenhouse and grow something over the top of it to provide shade (so the tank serves multiple functions). Greenhouse space is limited, and the the thermal mass maths don't actually add up if you run the numbers.
It turns out that the efficiency of heat transfer from the greenhouse to the water mass is not good enough to facilitate a thermal inertia effect (e.g. a ton of water will absorb less than 100 watts of power in a typical day) when you account for the thermal loss of the greenhouse itself (i.e. the greenhouse loses 150 watts to the cold night air).
So the mass will keep your greenhouse a degree or so warmer for a few hours after the sun goes down, but by 4 am, it's run out of steam so to speak, which is exactly when you want it working.
You are better off aligning your greenhouse carefully (not directly south if you are in the Northern hemisphere for example), using good insulation (and double skin), coupling it to the thermal mass of the earth, and heating it via
compost or some other waste heat stream.