Jenkin migration from one server to new

need to migrate Jenkin from one server to another. the pipeline we have for ansible as well as Jenkin server is connecting to aws organisation. what all things i can copy from old server to new. Jenkin is hosted on old RHEL 7.9 new is in RHEL 8.10. onprem server it's connecting to AWS using acceskey.

Jenkins setup: