forked from ansible/ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When force=yes, get_url should always download the specified file
This is accomplished by not setting the If-Modified-Since header, and setting "cache-control: no-cache" instead. Note that if the file content has not changed, the module will still report that changed=false, as the md5's of the tmp file and existing file are compared before swapping Fixes ansible#5104
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters