CGT may apply but the materiality of the amount all depends on (a) how long you owned it, (b) how long it was your PPR ( Principal Private Residence) and (c) how long it was rented. So if you own a property for 10 years, live in it as your PPR for 9 years & rent it for 1 year you have residence of 9/10 of period of ownership. CGT is calculated on the gain on the property and then reduced to 1/10 of that sum. So the longer you live in it and the shorter its rented, the less an issue CGT is.
Bear in mind that if you rent it (a) TRS on the mortgage interest will not be allowable for that year (b) the interst will, instead be a deduction against the rent but only if the property is registered with the PRTB.