James Cammarata
b8356b525a
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 #5104
2014-02-05 11:56:05 -06:00
Michael DeHaan
0d3a74d905
ansible -> ansibleworks
2014-01-28 20:29:41 -05:00
James Tanner
4f9aadcc07
Addresses #5023 Fix import comments
2013-12-02 15:13:49 -05:00
James Tanner
38edad70ac
Fixes #5023 Convert all modules to use new snippet import pattern
2013-12-02 15:11:23 -05:00
Michael DeHaan
4c35b7f380
There's a cleaner way to do this, commit to module formatter pending.
...
Revert "No longer need to reference 'version_added' in docs for these, as this was quite a while ago."
This reverts commit ff0a41d446
.
2013-11-27 21:23:03 -05:00
Michael DeHaan
9e4d71203d
No longer need to reference 'version_added' in docs for these, as this was quite a while ago.
2013-11-27 21:19:32 -05:00
jctanner
0ee5792849
Merge pull request #4785 from Tinche/get_url/uri-content-disposition
...
Modified the get_url module to respect the content-disposition header if...
2013-11-14 10:02:15 -08:00
Tin Tvrtkovic
b1fa35ac3d
Use the final URL from the finished request instead of the provided URL for filename generation, to properly deal with redirects.
2013-11-09 00:35:14 +01:00
James Laska
1d368f9e1f
Correct documentation URLs
2013-11-08 15:02:45 -05:00
Tin Tvrtkovic
8036cb0cab
Modified the get_url module to respect the content-disposition header if the destination is a directory and the server provides it.
...
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html , section 19.5.1.
2013-11-02 17:23:59 +01:00
Joshua Lund
bf5a4cbea4
* Updated SHA-256 functionality in the get_url module
...
(fixes issue #4277 )
* The sha256sum error message now displays the invalid
destination checksum if it doesn't match the one that
is specified in the arguments. This is useful for
debugging purposes.
* Non-alphanumeric characters, including the infamous
Unicode zero-width space, are removed from the sha256sum
argument prior to the check.
2013-09-27 14:37:21 -06:00
Joshua Lund
166ea0e175
* Updated all ansible.cc references in the documentation to point
...
to ansibleworks.com
* Fixed a few misspelled words
2013-06-19 19:34:02 -06:00
Joshua Lund
c96e6c0d1d
Removed merge conflict header
2013-06-18 15:01:01 -06:00
Michael DeHaan
6ed171bee5
Merge branch 'sha256' of git://github.com/jlund/ansible into devel
...
Conflicts:
library/network/get_url
2013-06-18 14:46:57 -04:00
Jan-Piet Mens
98c1423269
Docs: consistently format playbook EXAMPLES
2013-06-17 08:53:46 +02:00
Joshua Lund
6316a78776
Setting version_added for this feature to 1.3
2013-06-07 11:37:41 -06:00
Joshua Lund
30bd813913
* Added a sha256 method to module_common
...
* Added a sha256sum parameter to the get_url module to enable
cryptographic verification of downloaded files
* Fixed a few typos in the documentation
2013-06-04 23:28:28 -06:00
Michael DeHaan
b363c09a6e
Docs standardization
2013-06-01 12:13:21 -04:00
Michael DeHaan
cd97a4cb14
Allow modules to be categorized, and also sort them when generating the documentation.
2013-04-28 15:03:45 -04:00