Ghani announced the cease-fire would last at least three months to accommodate for the holiday, provided the Taliban also upholds the deal.
He also encouraged the Taliban to work with the government toward long-lasting peace, adding the cease-fire could be extended for as long as the Taliban is willing to cooperate.
"We call on the leadership of the Taliban to welcome the wishes of Afghans for a long lasting and real peace, and we urge them to get ready for peace-talks based on Islamic values and principles," he said. "The Afghan government has removed all obstacles for a long-lasting peace through these unprecedented steps."
The two sides reached their first cease-fire deal since the war began in 2001 in June, ahead of the three-day Muslim festival Eid al-Fitr.
Ghani ended the cease-fire after 18 days, while making an appeal to the Taliban to join a process toward peace.
"I welcome President Ghani's announcement of a second cease-fire with the Taliban in Afghanistan. I encourage the Taliban to demonstrate their concern for Afghans by respecting it," Stoltenberg said.