A general who wants more troops in Afghanistan will be appointed as the next head of the British Army.