The get_url module is used for a variety of things, like downloading
small files or packages from local servers -- or large things, like
downloading ISOs.
Previously this would download the contents of the remote location
every single time and then replace if the file would need to change,
thus idempotently (that word again, grr) replacing the module. That's
good of course. However, you may not always want to download that
file -- it's bad if you are pulling an ISO or hitting the public
internet (which you don't want to do any sort of production capacity
anyway, so don't do that).
I've updated it such that the default is a new mode "thirsty=no".
Thirsty=no means it won't download the file if the destination already
has a file there. Thirsty=yes means download every time and replace
when things change. If thirsty=no, the dest must also be a fully
qualified filename, not a directory name.
Module documentation is updated on the web site.
--Michael