KABUL, Afghanistan — Afghanistan’s coalition government fired on Tuesday all the commissioners who directed fraud-tainted parliamentary elections last fall, as the country prepares for a presidential race this summer and watches, with its leaders on the sidelines, peace talks unfold between Americans and the Taliban.

The move follows a push by some opposition politicians to postpone the election and form an interim government that, as part of a peace deal, could include the Taliban. President Ashraf Ghani, who has fumed over the government’s exclusion from the American-Taliban talks, has insisted that the election be held on time.

The firings, which came after a series of meetings between the government, civil society groups and political parties, were portrayed as a badly needed consensus on electoral reform. The commissioners called their dismissal a political decision by officials who hope to serve in a new government.

The election had already been pushed back from April to July. The panel behind that decision, the Independent Election Commission, was one of two whose members were removed on Tuesday.