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.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/6c3e3df5-055e-4c9a-a3ca-cd059c399cd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.