I just ran a playbook that uses the “unarchive” module with the --check switch. The playbook still made changes to my target machine… it uncompressed my archive.
I thought that when running a playbook with the --check switch no changes would be made to my target servers?
We recently addressed this issue in the devel branch. If you do not wish to upgrade completely to the devel version, you can simply grab the source code for the unarchive action_plugin and replace the version you have on your system (which should be located in site-packages/ansible/runner/action_plugins/unarchive.py).