Defense Secretary Robert Gates warned Congress this week that if it doesn 't approve the money soon , the military 's ability to train the Iraqi and Afghan security forces and replace battle-damaged equipment would be in jeopardy .