mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-08 09:24:01 -07:00
* Fix idempotency for Unix permissions in zip files. This fix prevents the unarchive module from reporting 'changed' when a zipfile contains items with Unix permissions that differ from the system default. * Update zip unarchive tests. Additional tests for the unarchive module with zip files: - Test file in zip archive with non-default permissions - Test file added to zip archive with Windows permissions * Additional fix for mixed win/unix archives. Turns out my original fix fails under some mixed archives, as setting the umask to zero can be applied to those files. This creates a per-file umask variable, so a mix of permission types don't cause problems. * CI Checks CI checks for archives with: * non default Unix permissions * Windows permissions * Workaround for BSD differences. Using Zipinfo due to lack of support in BSD unzip. Permissions handling is also different in BSD -- always applies UMASK to file permissions. * Added checks for creating directories and SSH keys for existing users. |
||
---|---|---|
.. | ||
__init__.py | ||
acl.py | ||
archive.py | ||
assemble.py | ||
blockinfile.py | ||
copy.py | ||
fetch.py | ||
file.py | ||
find.py | ||
ini_file.py | ||
iso_extract.py | ||
lineinfile.py | ||
patch.py | ||
replace.py | ||
stat.py | ||
synchronize.py | ||
tempfile.py | ||
template.py | ||
unarchive.py | ||
xattr.py | ||
xml.py |