The attacks came shortly after Lebanese and Israeli officials agreed to extend the ceasefire by 45 days.