Copy files from remote to remote

Hi All,

Is there anyway to copy files from one remote node to another without using delegate_to in ansible.

Regards,
Sivaraman P

Hi All,

Is there anyway to copy files from one remote node to another without using delegate_to in ansible.

Regards,
Sivaraman P

You could use rsync/scp commands directly, but why do you want to avoid delegate_to: ?

Regards
        Racke

I just posted this… https://groups.google.com/g/ansible-project/c/AHSouJ_nM8g

If I could figure out how to do what I am doing, that would be a solution you are trying to solve.

We have servers at remote locations, sometimes users will move from one remote locale to another remote locale, so a GPO maps the home drive to their current remote locale server and we need to copy files from one server to another.