The character 'Witty' in 'The Wild Geese' captured the 'everyone knows, no-one cares' attitude exactly.
He might have been accepted by a band of desperate cut throat mercenaries, but he was lucky not to set foot in an infantry rifle company.
Any suspicion of homosexuality was an automatic trigger for violence. I remember an incident of drunken bullying that left a soldier battered and bleeding. An unfounded accusation of poofery, provoked by his friendship with a local civilian, led to a barrack room inquisition and a beating.
A genuine gay was whisked out of the battalion and discharged via the depot. I forget the details, but I think he slept in the back of the guardroom for his own protection until the next flight to the UK. Brutal times.