Definitely wouldn't glue anything to that. As others have mentioned, you risk ripping it off the nails. Painting is a definite option and use the HSE guidance on how to do this. From those images it looks to be in good condition.
Unless you're ripping, grinding or drilling, nothing to worry about.