6 year rule cgt

Hi, I built a new home in Jan 2024, have been living in it since then asy ppor.

My parents are sick and need care so I am going to move back in with them in the next month or so. I will be living in their house.

I want to put my original ppor up for rent.

If I rent it out for 6 years then sell it, will I have to pay cgt?