The president 's action followed a parliamentary vote confirming Andrus Ansip and his coalition government .