Militants attacked and seized control of an army base in the central Malian town of Nampala on Tuesday, the deputy mayor of a nearby town said.