If Trump invades Iran, it won’t be against Russia, it’ll be beside them. If Vlad wants the US military out of a country, he doesn’t need the Russian army; he just has to tell Trump to withdraw them and it’s done.
But, at the moment, it looks like they’re trying to get the Saudis to do it for them. Should be plenty of opportunity for a joint RussoAmerican “peacekeeping” force after that, though.
As for “the generals”…both General Flynn and General Mattis were retired from the military specifically because they were Islamophobic loonies who were deliberately attempting to foment war with Iran.