# Ansible breaks on some quoted text and not others

**URL:** <https://forum.ansible.com/t/ansible-breaks-on-some-quoted-text-and-not-others/20764>\
**Category:** Ansible Project\
**Created:** [March 4, 2016, 12:10am UTC](https://forum.ansible.com/t/ansible-breaks-on-some-quoted-text-and-not-others/20764 "2016-03-04T00:10:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bootstraponline](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@bootstraponline](https://forum.ansible.com/u/bootstraponline)\
**Post date:** [March 4, 2016, 12:10am UTC](https://forum.ansible.com/t/ansible-breaks-on-some-quoted-text-and-not-others/20764/1 "2016-03-04T00:10:36Z")

</div>

If someone could explain the logic behind one string working and the other not then that’d be helpful. I think this is a bug in ansible’s yaml parser.

[https://github.com/ansible/ansible/issues/14783](https://github.com/ansible/ansible/issues/14783)

I tried looking for the code that produces the “Be sure to quote variables…” AnsibleError but didn’t find it on master.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [March 5, 2016, 10:27pm UTC](https://forum.ansible.com/t/ansible-breaks-on-some-quoted-text-and-not-others/20764/2 "2016-03-05T22:27:03Z")

</div>

Ansible uses pyyaml
