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 On Tue, Apr 5, 2016 at 3:53 AM, Gidhin Joy <[email protected]> wrote: > 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 > > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/0ea5dfcc-0752-4e7a-8231-9d074466a4f4%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAG9juEqqzA6aR4F66dkvG%2BML5zA5qBQyPU3c16Qhjd8PYxrZkw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
