I have heard different pronunciations of 'gn': [ŋn], [gn], [ɲ:].
Given a fixed era and dialect, is 'gn' always pronounced the same way or does the pronunciation depend on the environment? My impression is that there is no such dependence, and I should pronounce every instance of 'gn' the same within the context of a single text. (The only thing I would be tempted to vary is to change [gn-] > [n-] word-initially.)
For a concrete example, is there a type of Latin pronunciation where agnus, Gnaeus, and signi don't have the same realization of 'gn'?
If this is too broad, let me know and I can specify the question further to a single era. I think it is possible to give an answer covering at least classical and ecclesiastic pronunciations, but I would be happy to be proven wrong.
Related reading: