Hello,

I want to copy a file that resides on a remote machine to the same remote 
machine. I am doing that right now with a shell command

  shell: "cp {{backup_utils_dir}}/backup.config-example 
{{backup_utils_dir}}/backup.config"

Ansible has a copy module that copies files from the local box to the 
remote ones and a fetch module that copies files from remote machines to 
the local one. Is there a core module that copies from a remote to the same 
remote without reverting to shell commands?

Thank you in advance.

Regards
Rambius

-- 
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/6d9a509d-3837-47ee-b551-97814b0287be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to