US President Donald Trump named Lieutenant General Herbert Raymond McMaster as his new national security adviser, again turning to the US military to play a central role on his foreign policy team.