034e9b0252
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 lines
166 B
YAML
4 lines
166 B
YAML
minor_changes:
|
|
- >
|
|
unarchive - add ``include`` parameter to allow extracting specific files
|
|
from an archive (https://github.com/ansible/ansible/pull/40522)
|