 Born in Seremban, Negeri Sembilan, Ashmawi began his football career playing for Bukit Jalil Sports School team in 2011 at the age of 17, before been discovered by Ong Kim Swee to play in Harimau Muda B at the age 19.After Harimau Muda team been dissolved in 2015, Ashmawi signed two-years contract with his hometown side Negeri Sembilan.On 4 December 2017, Ashmawi signed a one-year contract with Malaysia Super League club Selangor on a free transfer.