-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_url with 1.4 against centos6.4 always downloads URL. #5019
Comments
@jeremychase from the get_url module docstrings ...
Verified behavior with the following playbook ...
If dest is a directory name, a temporary filename will be generated and the file will be downloaded every time...
If dest is a filename, the url is fetched if the filename does not exist ....
|
@jctanner Ahh. Sorry for the trouble. |
@jeremychase np, it gave me a chance to review the module. |
This had bugged me for ages! I didn't realise you had to explicitly set the dest filename to ensure it doesn't download it everytime. |
The following action will always download the target URL when using Ansible 1.4. It acts as if Force=yes. This test was done with an OSX host against a CentOS6.4 target machine:
The same get_url against a Debian machine does not exhibit this problem.
The text was updated successfully, but these errors were encountered: