Not just IT
My ex applied for a position in a Marine Fisheries Department at a large American University about 20 years ago and was told informally that the only way they would hire a woman was if they could piss off the back of the boat.
I will not go into the details, but she got the position.