Israel's Prime Minister has announced his cabinet has agreed to a ceasefire deal with Hezbollah in Lebanon.