mirror of
https://github.com/ansible/ansible.git
synced 2026-08-03 08:03:05 +02:00
Not all implementations use -l as default for -Z on unzip
(cherry picked from commit 481d8bdc1e)
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- unarchive modules now uses zipinfo options without relying on implementation defaults, making it more compatible with all OS/distributions.
|
||||
@@ -969,7 +969,7 @@ class TarZstdArchive(TgzArchive):
|
||||
class ZipZArchive(ZipArchive):
|
||||
def __init__(self, src, b_dest, file_args, module):
|
||||
super(ZipZArchive, self).__init__(src, b_dest, file_args, module)
|
||||
self.zipinfoflag = '-Z'
|
||||
self.zipinfoflag = '-Zl'
|
||||
self.binaries = (
|
||||
('unzip', 'cmd_path'),
|
||||
('unzip', 'zipinfo_cmd_path'),
|
||||
|
||||
Reference in New Issue
Block a user