It worked well until the ammonia got out, and then people died. :P
Ammonia is still in use in commercial refrigeration, because it’s cheap and more energy-efficient than CFCs.
https://www.frostpoint.net/articles/everything-you-need-to-know-about-ammonia-refrigeration.html