Career
He currently plays for Étoile du Sahel. Ayari debuted as a player with Stade Tunisien in March 2002, playing both defence and midfield. Ayari moved from Stade Tunisien in 2004 to Turkish club Samsunspor.
He joined French first division side Lorient at the start of 2006-2007 but his contract was cancelled in April 2007 by mutual consent.
Later that same season he signed for Étoile du Sahel.