# unarchive single file. unarchive bug?

**URL:** <https://forum.ansible.com/t/unarchive-single-file-unarchive-bug/15459>\
**Category:** Ansible Project\
**Created:** [June 13, 2014, 3:49pm UTC](https://forum.ansible.com/t/unarchive-single-file-unarchive-bug/15459 "2014-06-13T15:49:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Evgeniev](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Nick\_Evgeniev](https://forum.ansible.com/u/Nick_Evgeniev)\
**Post date:** [June 13, 2014, 3:49pm UTC](https://forum.ansible.com/t/unarchive-single-file-unarchive-bug/15459/1 "2014-06-13T15:49:04Z")

</div>

Hi,

any clue how to unarchive single file (i.e. file\_name.bz2 → file\_name) other than copy then call bunzip?

btw there’re no problems with multifile archives…

also:

set\_fact: fact=value

doesn’t work, while

set\_fact:  
fact: value

does.

shouldn’t docs be updated?

---

<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:** [June 13, 2014, 5:50pm UTC](https://forum.ansible.com/t/unarchive-single-file-unarchive-bug/15459/2 "2014-06-13T17:50:22Z")

</div>

(A) define “doesn’t work” with respect to set\_fact

(B) please start seperate threads on seperate questions

(C) sounds like you just want to decompress it rather than unarchive it to me? That would be fine, look into the creates= parameter on the shell command.
