You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
main.yml unarchive - add include option (#40522) 4 years ago
prepare_tests.yml unarchive - add include option (#40522) 4 years ago
test_download.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 4 years ago
test_exclude.yml unarchive - add include option (#40522) 4 years ago
test_include.yml unarchive - add include option (#40522) 4 years ago
test_missing_files.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 4 years ago
test_mode.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 4 years ago
test_non_ascii_filename.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 4 years ago
test_owner_group.yml [unarchive] work on older RHEL with group: <gid> (#72098) 4 years ago
test_parent_not_writeable.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 4 years ago
test_quotable_characters.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 4 years ago
test_symlink.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 4 years ago
test_tar.yml [unarchive] work on older RHEL with group: <gid> (#72098) 4 years ago
test_tar_gz.yml [unarchive] work on older RHEL with group: <gid> (#72098) 4 years ago
test_tar_gz_creates.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 4 years ago
test_tar_gz_keep_newer.yml Fix unstable unarchive test (#71004) 4 years ago
test_tar_gz_owner_group.yml unarchive - Check 'fut_gid' against 'run_gid' in addition to supplemental groups (#65666) 4 years ago
test_unprivileged_user.yml Updates to Integration tests to pass against Alpine (#70946) 4 years ago
test_zip.yml [unarchive] work on older RHEL with group: <gid> (#72098) 4 years ago