ansible/test
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
..
ansible_test
integration unarchive - add include option (#40522) 2020-12-07 12:49:41 -05:00
lib/ansible_test The implicit default for type=bool options is not 'false', but 'none' (#72699) 2020-12-04 12:13:14 -05:00
sanity The implicit default for type=bool options is not 'false', but 'none' (#72699) 2020-12-04 12:13:14 -05:00
support Various intentional tests (#72485) 2020-11-06 08:41:41 -06:00
units AnsibleModule.set_mode_if_different: handle symlink is in a sticky directory (#45198) 2020-12-04 14:21:51 -05:00
utils/shippable [devel] Azure Pipelines configuration. 2020-12-02 13:40:01 -08:00