yes but i dont think that tobi ever told nagato anything until he joind akatski because nagato clearly understood that tobi was in charge and appeared to be loyell to him and tobi said that he was the one that made yahiko form akatski and then manipulated nagato after yahiko diedWell Nagato got the Rinnegan when he still lived with Jiraya. So -madara must have told Nagato to bring him back when he grew up. It seems unlikely that Nagato wouldn't have told Jiraya about the plan When he was so confused back then.