I have a multiline variable "filedet" that contains string text having 
multiple single quotes.

I wish to replace the single quote to double quotes so that It can be 
acceptable for SQL query and below is what I tried. 

    filedet: "{{ ( filedet ) | replace('/'','/'/'') }}"
    filedet: "{{ ( filedet ) | replace(''%c '%58'',''%c '%58''%c '%58'') }}"

It does not help. Can you please suggest ?

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/41e277a0-6ebd-47d5-8d53-2d6307378da1%40googlegroups.com.

Reply via email to