# unarchive module:  --check

**URL:** <https://forum.ansible.com/t/unarchive-module-check/16385>\
**Category:** Ansible Project\
**Created:** [September 30, 2014, 5:10pm UTC](https://forum.ansible.com/t/unarchive-module-check/16385 "2014-09-30T17:10:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lui](https://avatars.discourse-cdn.com/v4/letter/l/d6d6ee/32.png) [@Lui](https://forum.ansible.com/u/Lui)\
**Post date:** [September 30, 2014, 5:10pm UTC](https://forum.ansible.com/t/unarchive-module-check/16385/1 "2014-09-30T17:10:49Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [September 30, 2014, 5:17pm UTC](https://forum.ansible.com/t/unarchive-module-check/16385/2 "2014-09-30T17:17:48Z")

</div>

Hi Lui,

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).

The source from devel can be found here:

[https://github.com/ansible/ansible/blob/devel/lib/ansible/runner/action\_plugins/unarchive.py](https://github.com/ansible/ansible/blob/devel/lib/ansible/runner/action_plugins/unarchive.py)

Let us know if you have any further questions.

Thanks!

---

<div class="post-metadata">

**Author:** ![Lui](https://avatars.discourse-cdn.com/v4/letter/l/d6d6ee/32.png) [@Lui](https://forum.ansible.com/u/Lui)\
**Post date:** [September 30, 2014, 7:06pm UTC](https://forum.ansible.com/t/unarchive-module-check/16385/3 "2014-09-30T19:06:41Z")

</div>

It looks like the “file” module also makes changes on my target. I’m using ‘file’ to modify permissions on a folder.

---

<div class="post-metadata">

**Author:** ![Lui](https://avatars.discourse-cdn.com/v4/letter/l/d6d6ee/32.png) [@Lui](https://forum.ansible.com/u/Lui)\
**Post date:** [September 30, 2014, 7:32pm UTC](https://forum.ansible.com/t/unarchive-module-check/16385/4 "2014-09-30T19:32:48Z")

</div>

Actually, it doesn’t make the change… it just says it did (step marked in yellow)

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [October 1, 2014, 12:06pm UTC](https://forum.ansible.com/t/unarchive-module-check/16385/5 "2014-10-01T12:06:02Z")

</div>

Please open a ticket if the recent changes on the development branch do not resolve things for you.

Thanks!
