# 'AnsibleError: unable to process as utf-8

**URL:** <https://forum.ansible.com/t/ansibleerror-unable-to-process-as-utf-8/21067>\
**Category:** Ansible Project\
**Created:** [April 5, 2016, 10:53am UTC](https://forum.ansible.com/t/ansibleerror-unable-to-process-as-utf-8/21067 "2016-04-05T10:53:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![G\_Joe](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@G\_Joe](https://forum.ansible.com/u/G_Joe)\
**Post date:** [April 5, 2016, 10:53am UTC](https://forum.ansible.com/t/ansibleerror-unable-to-process-as-utf-8/21067/1 "2016-04-05T10:53:18Z")

</div>

Greetings.

I am trying to setup a playbook for automating an installation.

While transferring a file (binary response file) through template module, getting following error.

fatal: [xxxx.xxxx.local] =\> {'msg': 'AnsibleError: unable to process as utf-8: /etc/ansible/ORA\_Patch/templates/ocm\_12cLinux\_PSU\_Jan2016.rsp', 'failed': True}

Any advice on this please.

Thanks.  
GJ

---

<div class="post-metadata">

**Author:** ![Toshio\_Kuratomi](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Post date:** [April 6, 2016, 3:03am UTC](https://forum.ansible.com/t/ansibleerror-unable-to-process-as-utf-8/21067/2 "2016-04-06T03:03:26Z")

</div>

Ansible does not currently handle non-ut8 data in playbooks or most of  
its text-processing modules. template would fall under the latter  
category. Due to the way jinja2 works it may be that template (which  
is a jinja2 template) may never handle that. If you tell us what  
you're attempting to do we might be able to help you find an alternate  
method of doing it. You may have to resort to using command: and  
basic unix tools in the workaround, though.

-Toshio

---

<div class="post-metadata">

**Author:** ![G\_Joe](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@G\_Joe](https://forum.ansible.com/u/G_Joe)\
**Post date:** [April 6, 2016, 4:34am UTC](https://forum.ansible.com/t/ansibleerror-unable-to-process-as-utf-8/21067/3 "2016-04-06T04:34:50Z")

</div>

Thanks Toshio. In that case I can workaround with “copy” module.
