# Problems with lookups in new versions 1.6.7+

**URL:** <https://forum.ansible.com/t/problems-with-lookups-in-new-versions-1-6-7/15799>\
**Category:** Ansible Project\
**Created:** [July 29, 2014, 8:00am UTC](https://forum.ansible.com/t/problems-with-lookups-in-new-versions-1-6-7/15799 "2014-07-29T08:00:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![micafer](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@micafer](https://forum.ansible.com/u/micafer)\
**Post date:** [July 29, 2014, 8:00am UTC](https://forum.ansible.com/t/problems-with-lookups-in-new-versions-1-6-7/15799/1 "2014-07-29T08:00:26Z")

</div>

```auto
Currently with the new ansible versions 1.6.7+ I have problems in some of my playbooks

I get this error:
A variable inserted a new parameter into the module args. Be sure to quote variables if they contain equal signs (for example: "{{var}}").

Using a playbook as simple as this one:

- hosts: all
  vars:
     contents: "{{ lookup('file', '/tmp/foo.txt') }}"

  tasks:

     - shell: echo "the value of foo.txt is {{ contents }}"

Is there any solution for that kind of playbooks?

Thanks.

```

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [July 29, 2014, 1:34pm UTC](https://forum.ansible.com/t/problems-with-lookups-in-new-versions-1-6-7/15799/2 "2014-07-29T13:34:27Z")

</div>

Please let us know if this occurs with 1.6.10, previously there was an issue when a file contained an equals sign that should now be resolved.
