Let's start with a simple example: How do I rysnc a dir in one group of servers to another group of servers? Let's assume there is only one server in each group. i.e.
[oldservers] server1 [newservers] new-server1 and i want a particular dir synced from [oldservers] to [newservers] On Friday, August 5, 2016 at 7:55:12 AM UTC-4, Gabriel Forster wrote: > > 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? > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5959d422-c3f7-4baf-97bb-10f71409a9bd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
