It was a narrow victory on the second ballot.
Ashfield can retain his provincial seat until a federal election is called, so there won't be a by-election anytime soon. However, the Liberals would be heavily favoured to pick up Ashfield's provincial seat.
Federally this victory moves Fredericton from my "too close to call" column and into the "leans Tory" one. The longer we wait for a federal election, I think the better the chances are for Ashfield who can campaign full time and use his one-on-one charm to win over those parts of the riding he hasn't already represented.