Unarchive modules always reports 'changed' with non-default permissions on items in zip files. (breaks idempotence) #22254
Labels
affects_2.2
This issue/PR affects Ansible v2.2
bug
This issue/PR relates to a bug.
m:unarchive
This issue/PR relates to the unarchive module.
module
This issue/PR relates to a module.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
unarchive module
ANSIBLE VERSION
CONFIGURATION
Defaults
OS / ENVIRONMENT
Running on OEL 7.3 (RHEL equivalent)
SUMMARY
Zip files containing items with non-default permissions are always reported as changed, every run. Totally breaking idempotence.
STEPS TO REPRODUCE
EXPECTED RESULTS
The second ansible run should not make/report any changes. The files already exists properly on the destination, due to the first ansible run
ACTUAL RESULTS
The second ansible run reports a change on the file with non-default permissions.
The text was updated successfully, but these errors were encountered: