Eric Hanchrow
7e557663c2
Clarify doc for get_url
...
Move a sentence from doc for the "force" option to that for the "dest" option.
11 years ago
James Cammarata
77d5a18392
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
11 years ago
Pedro Romano
30c8f514a2
Allow the 'PATCH' method in the 'uri' module since 'httplib2' allows it
...
and some APIs require it.
11 years ago
Michael DeHaan
83f43b82ad
ansible -> ansibleworks
11 years ago
James Tanner
ad837709bd
Addresses #5023 Fix import comments
11 years ago
James Tanner
6000d636b3
Fixes #5023 Convert all modules to use new snippet import pattern
11 years ago
Michael DeHaan
36effd237c
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
.
11 years ago
Michael DeHaan
ff0a41d446
No longer need to reference 'version_added' in docs for these, as this was quite a while ago.
11 years ago
Michael DeHaan
f7c3975f21
Add version_added to all modules missing version_added information, the docs formatter will now
...
raise errors when omitted, updated changelog with new modules.
11 years ago
jctanner
3a5e689b80
Merge pull request #4785 from Tinche/get_url/uri-content-disposition
...
Modified the get_url module to respect the content-disposition header if...
11 years ago
Tin Tvrtkovic
ea60360449
Use the final URL from the finished request instead of the provided URL for filename generation, to properly deal with redirects.
11 years ago
James Laska
4013e94cf6
Correct documentation URLs
11 years ago
Tin Tvrtkovic
c85655f720
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.
11 years ago
Michael Scherer
914226afc3
Fix issue 4433, make sure status is a int rather than a string
11 years ago
Joshua Lund
20489f1346
* 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.
11 years ago
Serge van Ginderachter
a311ee35b3
Fix bug in uri where redirect check fails.
...
When the redirect check fails, the 'status' key is not set in
resp_redir, so we need to check this.
11 years ago
Michael DeHaan
86ddbb224b
Trim old style var references
12 years ago
Joshua Lund
0f81d1630f
* Updated all ansible.cc references in the documentation to point
...
to ansibleworks.com
* Fixed a few misspelled words
12 years ago
Joshua Lund
bb4de94937
Removed merge conflict header
12 years ago
Michael DeHaan
2123507315
Merge branch 'sha256' of git://github.com/jlund/ansible into devel
...
Conflicts:
library/network/get_url
12 years ago
Jan-Piet Mens
30d641094b
Docs: consistently format playbook EXAMPLES
12 years ago
Jan-Piet Mens
5c69918d53
DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
...
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
Added deprecation warning to moduledev.rst and remove deprecated example from it
Fixed up a few typos and uppercased some acronyms.
add consistency to how EXAMPLES are formatted
12 years ago
Joshua Lund
37f15d0216
Setting version_added for this feature to 1.3
12 years ago
Joshua Lund
2ce7f136b2
* 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
12 years ago
Michael DeHaan
6b0a547652
Docs standardization
12 years ago
Michael DeHaan
f9a14f0d70
Fixup fetch doc formatting.
12 years ago
James Martin
3c131dbd2b
Initial Commit.
12 years ago
Piffey Parlance
99196024dd
Fixed bug where if destination was unspecified, changed would not be set, resulting in an UnboundLocalError.
12 years ago
Michael DeHaan
391fb98ee2
Allow modules to be categorized, and also sort them when generating the documentation.
12 years ago