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.
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.