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


On Wednesday, April 6, 2016 at 1:03:34 PM UTC+10, tkuratomi wrote:
>
> 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] <javascript:>> 
> 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > 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/5881f589-b239-4c46-8365-95bfad13b90f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to