# escape double quote issue at ansible 1.9.3

**URL:** <https://forum.ansible.com/t/escape-double-quote-issue-at-ansible-1-9-3/19351>\
**Category:** Ansible Project\
**Created:** [September 24, 2015, 9:49pm UTC](https://forum.ansible.com/t/escape-double-quote-issue-at-ansible-1-9-3/19351 "2015-09-24T21:49:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jack1](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@jack1](https://forum.ansible.com/u/jack1)\
**Post date:** [September 24, 2015, 9:49pm UTC](https://forum.ansible.com/t/escape-double-quote-issue-at-ansible-1-9-3/19351/1 "2015-09-24T21:49:49Z")

</div>

Hi, All

We have the ansible task similar like this, which works fine at ansible 1.5

- name: set fact  
set\_fact: option=“–op "type eq ‘db’"”

At 1.5, the option was set to  
–op “type eq ‘db’”

But after we upgrade ansible to 1.9.3, the option fact is set to  
–op "type eq ‘db’"

So it looks like that at 1.9, the escape logic has been changed. What is the correct way to escape the double quotes?

Thanks  
Jack
