Gareth, a shortened (or perhaps Bowdlerised) version of the song you posted is in the Digitrad at I don't want to join the army.
WW1 ? It is in several books of WW2 songs and ditties, but that doesn't necessarity mean that it was not from the previous round, and came out of retirement.