The defense ministers of France and Indonesia have agreed to work more closely to maintain regional stability.