I have 100 old servers having some different applications and 100 new servers as old’s replacement. I want to copy the log files of old servers to its respective new server using Ansible. How can I do it. It looks something as shown below.
Server 1_old → Server 101_new
Server 2_old → Server 102_new
Server 3_old → Server 103_new
Server 4_old → Server 104_new
. .
. .