I'm having this same problem after upgrading from version 1.3 to version 
1.4.1 of Ansible using the EPEL packages.I see that this issue got fixed 
but it's unclear whether this issue was fixed in 1.4.1 as no commit is 
specified. Can't see whether that was added in or not. I'm guessing not 
since I'm getting errors but just want to verify.

I started to cut over from the ${foo} variables to the now preferred 
{{foo}} variables because of the deprecation warnings I saw but doesn't 
look like I'll really be able to do that until this gets fixed. Here is an 
example of one of the vars files I'm having a problem with.

Before:
---
foo: 
    dir: /usr/local/bar
    bindir: ${bar.dir}/bin
    vardir: ${bar.dir}/var
    codir:  ${bar.dir}/checkout

After:
---
foo: 
    dir: /usr/local/bar
    bindir: "{{bar.dir}}/bin"
    vardir: "{{bar.dir}}/var"
    codir:  "{{bar.dir}}/checkout"

Error:
fatal: [example.foo.bar] => recursive loop detected in template string: 
{{bar.dir}}/checkout

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to