Commit Graph

19 Commits (cea1125d0238361dd7e9c71b1f1dd754ca919443)

Author SHA1 Message Date
Dylan Martin 579e444243 improved error message when no handler found 2016-12-08 11:23:50 -05:00
Markus Juenemann 47065c2a43 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. 2016-12-08 11:23:29 -05:00
Brian Coca 60d160a2e9 Also document in example that unarchive download was added in 2.0 2016-12-08 11:23:20 -05:00
verm666 6acfa5fcee unarchive: fix @bcoca's remarks, issue #1575 2016-12-08 11:23:16 -05:00
verm666 b898cb656b unarchive: fix work with 0 bytes archives
This change is in response to issue #1575
2016-12-08 11:23:15 -05:00
Toshio Kuratomi 5f27a073ba Bump amount of file to download in a chunk to 64k. 2016-12-08 11:23:11 -05:00
Jonathan Mainguy dd0659c83d add download ability to unarchive module 2016-12-08 11:23:11 -05:00
Greg DeKoenigsberg eb881d7d5d Proper author info for all remaining modules 2016-12-08 11:23:07 -05:00
Brian Coca 0567404c03 generic fix for Exceptions that heppen when trying to set permissions on extracted files fixes ansible/ansible#10934 which is really a corner case 2016-12-08 11:22:58 -05:00
Toshio Kuratomi 1ddae11bd1 Implement feature to return list of files in the archive 2016-12-08 11:22:54 -05:00
Toshio Kuratomi 02b8e17f61 Tar --diff only sends output to stderr if a file is missing. Handle that case
Fixes #1064
2016-12-08 11:22:54 -05:00
mrsheepuk 31421374c0 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.
2016-12-08 11:22:43 -05:00
Toshio Kuratomi e4a3e5fdd7 Prefer gtar to tar
Fixes #702
2016-12-08 11:22:40 -05:00
Toshio Kuratomi 547c90554a Standardize class names on Archive suffix.
This also removes the collision between the stdlib ZipFile class and the
module's ZipFile class

Fixes #681
2016-12-08 11:22:39 -05:00
Toshio Kuratomi 1728f9bba7 Add detection of uid,gid,mode changes when deciding whether an archive needs to be unarchived again. 2016-12-08 11:22:38 -05:00
Toshio Kuratomi f9a6ec95b0 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
2016-12-08 11:22:38 -05:00
Jon Hadfield f63ad7894e Remove redundant check for creates argument. 2016-12-08 11:22:23 -05:00
James Cammarata 429ab56e14 Adding file doc fragment to those modules in files/ missing it 2016-12-08 11:22:23 -05:00
Michael DeHaan 213e518165 file extensions! 2016-12-08 11:22:22 -05:00