Will Thames
d9b895b319
Unarchive should work when parent directory is not writable
...
Correct unarchive so that the checks for writeability are
sensible.
Added a test for when parent directory is not writable
2014-08-07 16:11:02 +10:00
Michael DeHaan
726a1a33e0
Update unarchive example.
2014-07-28 12:07:31 -04:00
Lee Gillentine
d631056f27
Pushing up correct example :(
2014-07-25 14:19:02 -05:00
Lee Gillentine
69337362e7
Adding another example to demonstrate unarchive working entirely on a remote machine
2014-07-18 22:22:37 -05:00
James Cammarata
5c27273ed4
Merge branch 'unarchive-fix-7777-simple' of https://github.com/toddmowen/ansible into toddmowen-unarchive-fix-7777-simple
2014-06-18 13:48:57 -05:00
Todd Owen
43c9edad8a
unarchive: do not assume tar supports -C
...
Fixes #7777
(But don't rewrite the tar invocation in is_unarchived(), since a
tar that supports "--diff" certainly supports "-C" as well).
2014-06-15 22:38:41 +08:00
Todd Owen
a4fe91050b
unarchive: improve failure detection and reporting
...
Related to #7777
2014-06-15 13:13:18 +08:00
James Cammarata
e8b33636ae
Get the bin path for commands in the unarchive module
...
Fixes #6927
2014-04-15 20:39:22 -05:00
Richard C Isaacson
a483e42583
unarchive module: Add creates functionality.
...
Closes GH-5354.
Forklift copy logic into unarchive. Provides integration unit tests.
2014-03-07 18:19:46 -06:00
Richard C Isaacson
598b9c6b7c
Cleanup per notes.
...
Some small changes to per notes from @mpdehann.
2014-02-12 10:01:10 -06:00
Richard C Isaacson
cb7c2b7524
Updates for the unarchive module and action_plugin.
...
There is a bit going on with the changes here. Most of the changes are cleanup of files so that they line up with the standard files.
PR #5136 was merged into the current devel and brought up to working order. A few bug fixes had to be done to get the code to test correctly. Thanks out to @pib!
Issue #5431 was not able to be confirmed as it behaved as expected with a sudo user.
Tests were added via a playbook with archive files to verify functionality.
All tests fire clean including custom playbooks across multiple linux and solaris systems.
2014-02-12 01:57:00 -06:00
Richard C Isaacson
e6c9705058
Merge remote-tracking branch 'pib/unarchive_remote' into pull_5136
2014-02-11 22:55:34 -06:00
Jan-Piet Mens
d0912b84ef
documentation typos
2014-01-21 09:03:14 +01:00
Paul Bonser
5626efba7e
Optionally unarchive a file already on the remote machine
2013-12-02 19:51:10 -06:00
James Tanner
ad837709bd
Addresses #5023 Fix import comments
2013-12-02 15:13:49 -05:00
James Tanner
6000d636b3
Fixes #5023 Convert all modules to use new snippet import pattern
2013-12-02 15:11:23 -05:00
greenbrian
d80eb4a7fd
Update unarchive
...
Modified argument order provided to unzip command as the -o was being interpreted as a file.
2013-11-25 10:44:39 -06:00
Michael Scherer
9731f388c1
Do not use construct not compatible with python 2.4, fix #5006
2013-11-22 16:06:41 +01:00
Joshua Lund
02adc1fdcf
Fixed a typo in the 'unarchive' module documentation
2013-11-21 16:22:20 -07:00
James Tanner
e81c976636
Fix pep8 errors in unarchive module
2013-11-19 16:35:06 -05:00
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.
2013-11-18 18:55:49 -05:00
James Tanner
575d7eb8be
Set required = True for src in unarchive module.
2013-11-14 10:59:24 -05:00
Dylan Martin
84152fec3f
unarchive - mvd docs to top of file
2013-10-21 16:10:55 -05:00
Dylan Martin
da9e2e765c
better docs
2013-10-21 15:30:22 -05:00
Dylan Martin
2c28e1daea
unarchive module & action_plugin added
2013-10-21 15:22:42 -05:00