# zcat failing in ansible

**URL:** <https://forum.ansible.com/t/zcat-failing-in-ansible/24363>\
**Category:** Ansible Project\
**Created:** [May 1, 2017, 3:17pm UTC](https://forum.ansible.com/t/zcat-failing-in-ansible/24363 "2017-05-01T15:17:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Swathi\_Cutie](https://avatars.discourse-cdn.com/v4/letter/s/e9bcb4/32.png) [@Swathi\_Cutie](https://forum.ansible.com/u/Swathi_Cutie)\
**Post date:** [May 1, 2017, 3:17pm UTC](https://forum.ansible.com/t/zcat-failing-in-ansible/24363/1 "2017-05-01T15:17:41Z")

</div>

I am trying to import the schema it is failing , please suggest me to solve this error

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [May 1, 2017, 3:28pm UTC](https://forum.ansible.com/t/zcat-failing-in-ansible/24363/2 "2017-05-01T15:28:37Z")

</div>

You will need to use `shell` instead of `command`.

Per the documentation:

The given command will be executed on all selected nodes. It will not be processed through the shell, so variables like $HOME and operations like “\<”, “\>”, “|”, “;” and “&” will not work (use the shell module if you need these features).
