I have a group of oldservers and matching new servers. I need to rsync a dir from each old one to each corresponding new one.
e.g.
oldserver1:/some/path → newserver1:/some/path
oldserver2:/some/path → newserver2:/some/path
oldserver3:/some/path → newserver3:/some/path
Even with the same path, the data therein can be different, so we don’t want oldserver1:/some/path → newserver3:/some/path
Up to this task, I already have the everything that needs to be prepped on the newserver in a functioning role.
I’m a bit lost at this point. I can manually do this via rsync no problem, but that’s what we’re trying to avoid, right?