On 14 May 2014 13:42, Bas Meijer <[email protected]> wrote:

> PROBLEM: In the playbook below, Ansible 1.4.5 shows 'DEPRECATION WARNING'
> when I use $item, and 'undefined variables' when in use
> ​​
> {{item}}.


​
​
{{item}} is the right syntax

undefined variables is another problem, is it possible you get no match
for first_available_file?

You might want to use with_first_found instead of the
older first_available_file though, then if no match, the task would get
skipped.



  Serge

-- 
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/CAEhzMJD8iiwTqUJhC%3DX5QNB1zQoz6p8DOodVFvZau-X71yMy4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to