during the six-day war, vardi served the jerusalem district commander. after the war he became the commander of the judea and samaria area. he received a master's degree in law from the hebrew university of jerusalem. in july 1968 vardi became one of the first military personal to become brigadier general in the idf. in 1974 he was appointed coordinator of government activities in the territories. in 1976 vardi was appointed head of the manpower directorate, a position he held until 1978. he joined the defense establishment comptroller unit in 1980. vardi left the unit after the appointment of ariel sharon to the minister of defense in 1981. in august 1983, vardi was appointed director general of the state comptroller of israel. vardi resigned in 1985 after a disagreement with itzchak tonic.