Don't define foo so it self references.

foo_dir

Etc

-- Michael

On Dec 17, 2013, at 5:53 PM, "[email protected]" <
[email protected]> wrote:

Here are the fixed complete examples. Sorry about that.

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

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

Error:
fatal: [example.foo.bar] => recursive loop detected in template string:
{{foo.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.

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