ansible/test/integration/targets/unarchive/tasks
Sijis Aviles 034e9b0252
unarchive - add include option (#40522)
This should allow users to extract specific files from an archive as
desired.

Fixes #16130, #27081.

* Rebase and make a few minor changes
* Add changelog
* Improve tests

- move to separate tasks file
- change assertions to check for exactly one file
- use remote_tmp_dir for output dir

* Make exclude and include mutually exclusive
* Don't remove files needed by other tasks
* Fix sanity tests
* Improve feature documentation
* Skip tests that use map() on CentOS 6
* Use fnmatch on include for zip archives
  This matches the behavior of exclude

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-12-07 12:49:41 -05:00
..
main.yml
prepare_tests.yml
test_download.yml
test_exclude.yml
test_include.yml
test_missing_files.yml
test_mode.yml
test_non_ascii_filename.yml
test_owner_group.yml
test_parent_not_writeable.yml
test_quotable_characters.yml
test_symlink.yml
test_tar.yml
test_tar_gz.yml
test_tar_gz_creates.yml
test_tar_gz_keep_newer.yml
test_tar_gz_owner_group.yml
test_unprivileged_user.yml
test_zip.yml