At ceremony for outstanding reserve army units, president urges military stay out of political debate and warns against jeopardizing security of country