You should start with a data definition that is consumable by Ansible. I'm 
still not quite clear on what you want to do with 100 servers but I'll 
start by assuming "For each server, copy one file, unique to server X onto 
server Y. Destination path = source path."

In this example I would create an inventory like this:
[source_hosts]
host1  file_path=/etc/...  dest_host=another_hostname

With that data structure you could create a Task like
- hosts: source_hosts
  tasks:
    - fetch: src={{src_path}} dest=/tmp/...
    - delegate_to:"{{dest_host}}"
      copy: src={{/tmp/...}} dest={{file_path}}

Caveat Emptor: I did not try running this. 

-- 
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/efa8d8d9-95be-4e82-9c9d-59b4e6723f10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to