Not sure why it is complaining here, maybe an invisble control character. 
Anyway you are best off doing the following;

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

Raw in Windows is not truly raw as it is run in a PowerShell shell so the 
standard quoting rules apply. Having C:\'Progam Files'\.. wouldn't work as 
that isn't valid PowerShell. The example above will quote that whole string 
as well as your -a arg in case it has a space in it. You can also consider 
using win_command for this if you want to talk advantage of things like 
become, environment, async and some of the other options it adds.

Thanks

Jordan

-- 
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/eddb6332-07ea-41b0-ae8f-3d7c90c22a7f%40googlegroups.com.

Reply via email to