The Senate confirmed Mark Esper as the next defense secretary by a 90-8 vote July 23, ending months of leadership uncertainty for the top job at the Pentagon, where more than a dozen senior leadership posts remain vacant.