Sorry, just to add to the previous post, the yaml is now as follows:-

 - name: Installing the license
   raw: '"C:\Program Files\IBM\SQLLIB\BIN\db2licm" -a "{{ temp_area }}\{{ 
db2_lic_file }}"'

On Thursday, August 15, 2019 at 5:08:28 PM UTC+1, Chris Jackson wrote:
>
>
> Hi all,
>
> Tearing my hair out trying to resolve this. I am getting the following:-
>
>     "reason": "failed at splitting arguments, either an unbalanced jinja2 
> block or quotes: C:\\'Program Files'\\IBM\\SQLLIB\\BIN\\db2licm -a\n{{ 
> temp_area }}\\{{ db2_lic_file }}\n\nThe error appears to have been in 
> '/var/lib/awx/projects/_49__ansible_chrisj_testing/playbooks/MQ_Test/Machine_Setup/roles/DB2_Install/tasks/Win32NT_DB2_Install.yml':
>  
> line 51, column 7, but may\nbe elsewhere in the file depending on the exact 
> syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: 
> Installing the license\n      ^ here\n"
>
> This is the errant piece of yaml:-
>
>  - name: Installing the license
>       raw: |
>            C:\'Program Files'\IBM\SQLLIB\BIN\db2licm -a
>            {{ temp_area }}\{{ db2_lic_file }}
>
> Can anyone help?
>
> Many Thanks
>
> Chris.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-devel/2af9d505-0864-4bd1-a7ca-cc44a25a102d%40googlegroups.com.

Reply via email to