This is not true at all. Discussion in Dec 1940 were in initial stages of progress, however Stalin did not want to have any agreements of the sort unless Germany renounced any and all ties to Finland. Stalin claimed it was in his sphere of influence but Hitler didnt like the fact that it might have also influenced Sweden (by new diplomatic pressures by the Kremlin) to stop Iron Ore shipments to the Reich.
Stalin was quite interested in Persia and getting a natural warm water port in Europe. That is a historical Russian objective since modern times and Turkey was but one factor in its way. Stalin mistrusted the British more than Hitler and more than anybody. He loathed Churchill and considered them duplicitous.
If Stalin was smart he would have allowed and accepted the diplomatic correspondence coming from British and American Intelligence warning Stalin of inpending German aggression. He feared that if he was too mobilize he would make the same mistake as the Czar had done in 1914 and ordered full mobilization which forced the Kaisers decision to also mobilize and begin the chain that started WW1. Stalin did not want to be provoked into a general war with Germany at this time. Thats why they basically got chumped in the first 2 weeks of the campaign. Stalin didnt listen and he was Stupid at times.
Of course Zhukov ordered a study of a preemtive attack on the Reich but this was rejected out right by Stalin for the time being. In my opinion he was eventually preparing for such a conclusion, but if those talks with Von Ribbentropp went well and Germany released Finland to “the wolves” then i feel Stalin would have been much more receptive to co-axis cooperation in the middle east.