Download files

19 views
Skip to first unread message

Suporter

unread,
Apr 19, 2017, 4:51:07 AM4/19/17
to Ansible Project
Hello,
     i have few zip files in a url like 1.zip, 1.md5.txt, 2.zip, 2.md5.txt  , if there is a change in the zip file the corresponding md5.txt entry will be changed, how can i check this condition and download only the zip file  when the content of md5.txt is changed. 

J Hawkesworth

unread,
Apr 19, 2017, 8:37:15 AM4/19/17
to Ansible Project
Use the stat or wim_stat nodules perhaps.

Suporter

unread,
Apr 19, 2017, 8:41:09 AM4/19/17
to Ansible Project
can you please post an example, we need to read md5.txt and download corresponding zip file
Reply all
Reply to author
Forward
0 new messages