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 unarchive - add include option (#40522) 2020-12-07 12:49:41 -05:00
prepare_tests.yml unarchive - add include option (#40522) 2020-12-07 12:49:41 -05:00
test_download.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_exclude.yml unarchive - add include option (#40522) 2020-12-07 12:49:41 -05:00
test_include.yml unarchive - add include option (#40522) 2020-12-07 12:49:41 -05:00
test_missing_files.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_mode.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_non_ascii_filename.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_owner_group.yml [unarchive] work on older RHEL with group: <gid> (#72098) 2020-10-06 11:25:03 -04:00
test_parent_not_writeable.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_quotable_characters.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_symlink.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_tar.yml [unarchive] work on older RHEL with group: <gid> (#72098) 2020-10-06 11:25:03 -04:00
test_tar_gz.yml [unarchive] work on older RHEL with group: <gid> (#72098) 2020-10-06 11:25:03 -04:00
test_tar_gz_creates.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_tar_gz_keep_newer.yml Fix unstable unarchive test (#71004) 2020-07-30 19:25:45 -04:00
test_tar_gz_owner_group.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 2020-07-30 15:28:05 -04:00
test_unprivileged_user.yml Updates to Integration tests to pass against Alpine (#70946) 2020-08-07 14:28:10 -05:00
test_zip.yml [unarchive] work on older RHEL with group: <gid> (#72098) 2020-10-06 11:25:03 -04:00