Dag Wieers
7cd47eb73a
Ensure that a download failure is properly raised before the read fails
...
Without this change, a download failure may bail out with the message:
"Failure downloading http://foo/bar , 'NoneType' object has no attribute 'read'"
whereas with this fix, you'd get a proper error like:
"Failure downloading http://foo/bar , Request failed: <urlopen error [Errno 113] No route to host>"
or one of the many other possible download errors that can occur.
9 years ago
Toshio Kuratomi
832e81e691
Set some module parameters to type=path
9 years ago
Dylan Martin
bfa7cdb5c4
improved error message when no handler found
9 years ago
Brian Coca
f12a2135ca
Merge pull request #1525 from mjuenema/devel
...
Removed check whether destination directory is writable from files/un…
9 years ago
Brian Coca
e916b04e91
Also document in example that unarchive download was added in 2.0
9 years ago
verm666
8deee99fcc
unarchive: fix @bcoca's remarks, issue #1575
10 years ago
verm666
725a7b2f59
unarchive: fix work with 0 bytes archives
...
This change is in response to issue #1575
10 years ago
Toshio Kuratomi
c5324f54e6
Bump amount of file to download in a chunk to 64k.
10 years ago
Toshio Kuratomi
daa1472ccf
Merge pull request #1448 from Jmainguy/unarchive_http
...
add download ability to unarchive module
10 years ago
Jonathan Mainguy
58ef71fc84
add download ability to unarchive module
10 years ago
Markus Juenemann
0db3206cae
Removed check whether destination directory is writable from files/unarchive.py.
...
This check will prevent extraction of an archive if the archive does not
actually write to the destination directory but only writes to any writable
sub-directories of it. The underlying tar command will report errors
should it try to write to read-only directories.
10 years ago
Greg DeKoenigsberg
2a5f0bde87
Proper author info for all remaining modules
10 years ago
Brian Coca
9a2e64b76d
generic fix for Exceptions that heppen when trying to set permissions on extracted files
...
fixes ansible/ansible#10934 which is really a corner case
10 years ago
Toshio Kuratomi
a19fa6ba48
Implement feature to return list of files in the archive
10 years ago
Toshio Kuratomi
761fc8d277
Tar --diff only sends output to stderr if a file is missing. Handle that case
...
Fixes #1064
10 years ago
mrsheepuk
410862d631
Doc change - make clearer usage for existing remote file
...
Having read the doc for this module several times and completely missing that it can be used for existing remote archives, I propose this update to the wording to make clear from the top the two ways in which this module can be used.
10 years ago
Toshio Kuratomi
99a8caf409
Prefer gtar to tar
...
Fixes #702
10 years ago
Toshio Kuratomi
9f333afb6a
Standardize class names on Archive suffix.
...
This also removes the collision between the stdlib ZipFile class and the
module's ZipFile class
Fixes #681
10 years ago
Toshio Kuratomi
e3759bd0d3
Add detection of uid,gid,mode changes when deciding whether an archive
...
needs to be unarchived again.
10 years ago
Toshio Kuratomi
6159b5c423
Implement user,group,mode,selinux settings for unarchive.
...
This is a partial fix for #234 . Still have to figure out how to
make change reporting work as we can no longer rely on tar's --compare
option
10 years ago
Jon Hadfield
9e0565e58f
Remove redundant check for creates argument.
10 years ago
James Cammarata
cb69744bce
Adding file doc fragment to those modules in files/ missing it
10 years ago
Michael DeHaan
c8e1a2077e
file extensions!
10 years ago