Hi guys,
I'm quite new to Ansible and would like to perform the following in an 
idempotent fashion. I would basically like to minimise the number of 
downloads I need to perform from the web for certain file assets, so my 
plan is to download them once to an asset server and then retrieve them 
from there for all the target hosts in our cluster.

As far as I know the flow would go something like this.

# does file exist on target host
  # if yes exit
  # if no retrieve from asset server
# does file exist on asset server
# if not download from web to asset server
# copy file from asset server to target host

Are there any modules I could use to do this or are there any other 
recommendations on best practices for this scenario?

Any help would be appreciated.

Cheers,

Jason

-- 
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/58d8fa8a-c250-4c07-9b22-c7a20cd789c7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to