Why did the RBA raise interest rates? Will higher petrol prices have same effect?

A red up arrow next to a percentage sign on top of an aerial view of dozens of houses.

Even the RBA's rate-setting board was divided on the timing of a rate hike. (ABC News: Alistair Kroie/John Gunn)