# We could be wrong, but this one looks like it might be an issue with missing quotes.

**URL:** <https://forum.ansible.com/t/we-could-be-wrong-but-this-one-looks-like-it-might-be-an-issue-with-missing-quotes/15021>\
**Category:** Ansible Project\
**Created:** [April 15, 2014, 4:26pm UTC](https://forum.ansible.com/t/we-could-be-wrong-but-this-one-looks-like-it-might-be-an-issue-with-missing-quotes/15021 "2014-04-15T16:26:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Holway](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@Andrew\_Holway](https://forum.ansible.com/u/Andrew_Holway)\
**Post date:** [April 15, 2014, 4:26pm UTC](https://forum.ansible.com/t/we-could-be-wrong-but-this-one-looks-like-it-might-be-an-issue-with-missing-quotes/15021/1 "2014-04-15T16:26:08Z")

</div>

Hello,

I am stuck with the following problem. I have tried various combinations of quotes but always get the same error.

Thanks,

Andrew

[root@ansible ansible-catn-freeipa]# ansible-playbook freeipa.yml -i hosts  
ERROR: Syntax Error while loading YAML script, /root/ansible-catn-freeipa/roles/replica/tasks/free-ipa-setup.yml  
Note: The error may actually appear before this position: line 36, column 9

name: Pull file from ansible server

- copy: “src=/tmp/{{ freeipaserver\_ip }}/var/lib/ipa/replica-info-{{ ansible\_hostname }}.gpg dest=/var/lib/ipa/replica-info-{{ ansible\_hostname }}.gpg owner=foo group=foo mode=0644”  
^  
We could be wrong, but this one looks like it might be an issue with  
missing quotes. Always quote template expression brackets when they  
start a value. For instance:

with\_items:

- {{ foo }}

Should be written as:

with\_items:

- “{{ foo }}”

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [April 15, 2014, 6:12pm UTC](https://forum.ansible.com/t/we-could-be-wrong-but-this-one-looks-like-it-might-be-an-issue-with-missing-quotes/15021/2 "2014-04-15T18:12:23Z")

</div>

This looks like it’s actually an issue with your indentation and YAML syntax. Your line should be as follows:

- name: Pull file from ansible server  
copy: “src=/tmp/{{ freeipaserver\_ip }}/var/lib/ipa/replica-info-{{ ansible\_hostname }}.gpg dest=/var/lib/ipa/replica-info-{{ ansible\_hostname }}.gpg owner=foo group=foo mode=0644”
