I have a server that contains some fairly large release artifacts, which I 
would like to distribute to my target machines. The only method that I've 
tried that worked was using the shell module to pull the artifacts down 
locally with scp before pushing them out, but I just believe that is the 
best way to do this.

It seems like the _proper_ way to do this would be using the synchronize 
module and delegating to the host containing the artifacts, but there are 
several obstacles I've been facing. I was able to install the artifact 
host's public key on the target machine's auth_keys file, but then I found 
out that the artifacts host cannot resolve the IP address of the target 
machine(s) from their FQDN. I have a private rsa key that the artifacts 
host has in its auth file, but it seems like there is no way to 
use/integrate it with the synchronize module. Also, there appear to be 
complications and/or confusions in terms of which users ansible is using to 
connect to which machine, and I really don't want to have to modify my own 
control machine's ssh configs, as this would have to be done manually on 
any potential control machine we would ever use.

I'm looking for best methods here, or at least some ideas. How can I just 
send files from another host to my target machine(s)?

Thanks in advance,
- Dan

-- 
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/7f43e3ae-0bda-4377-b20d-892529c0a8ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to