community.general/lib/ansible/modules/files
Dag Wieers 32e3cc7778 Fix multiple issues with unzip and gtar support (#4131)
* Improve the correct handling of gtar and unzip options

Add the option --show-transformed-names when extra_opts is being used
Ignore bogus warnings related to empty filenames
Properly quote _and_ escape filenames for unzip command
Rewrite gtar options and provide run_command with array, not string

This fixes #2480 and #4109.

* Make check-mode work for zip-files

Check-mode was disabled for zip-files since gtar did not support it.
This change enables check-mode support for zip-files, but does skip the task when used with gtar.
(Best of both worlds)

Also remove unused compress_mode variable.

This replaces PR #4401, the changes overlap somewhat so I merged them
2016-12-08 11:24:53 -05:00
..
__init__.py package files 2016-12-08 11:22:22 -05:00
acl.py Add acl freebsd (#3656) 2016-12-08 11:24:52 -05:00
assemble.py unsafe writes! (#4314) 2016-12-08 11:24:49 -05:00
copy.py unsafe writes! (#4314) 2016-12-08 11:24:49 -05:00
fetch.py Fix grammar in docs for fetch 'fail_on_missing' (#3872) 2016-12-08 11:24:35 -05:00
file.py file module: add clarification on state=absent re files that do not exist. 2016-12-08 11:24:46 -05:00
find.py find.py: Editing contains description to say regex (#4452) 2016-12-08 11:24:51 -05:00
ini_file.py also match on tabs in ini_file (fixes #106) (#4067) 2016-12-08 11:24:41 -05:00
lineinfile.py unsafe writes! (#4314) 2016-12-08 11:24:49 -05:00
replace.py unsafe writes! (#4314) 2016-12-08 11:24:49 -05:00
stat.py Refactor stat.py so that it would be more friendly for unittests. (#4462) 2016-12-08 11:24:51 -05:00
synchronize.py Be explicit about specifying the ssh port if it was user specified (#4302) 2016-12-08 11:24:48 -05:00
template.py restored incorrectly removed docs, jinja2 override 2016-12-08 11:24:37 -05:00
unarchive.py Fix multiple issues with unzip and gtar support (#4131) 2016-12-08 11:24:53 -05:00
xattr.py Convert the whole files/ directory to py3 syntax (#3685) 2016-12-08 11:24:29 -05:00