Replacing Intel Nuc 7i8 to 8i5

I have a question, I have a working Intel Nuc7i5BNH configured with RoonRock, but it turns out that the internet connection no longer connects properly, I have to push the cable backwards in such a way to have contact in the utp connection. Now I wish to replace this nuc with a new Nuc 8i5. Does anyone know if it is enough to move the Samsung 970 EVO 250GB M.2 + the ‘Crucial 8GB DDR4’ memory from the Nuc7i5 to the new Nuc 8i5, Roon will just work or should I do more?