hash_behavior merge would merge hashes, though in your case, what you have is a list of hashes.
Thus hash_behavior doesn't apply. On Wed, May 14, 2014 at 1:04 PM, Martin Devlin <[email protected]> wrote: > Why can't I append to a list so that items in different group_vars, for > example, can stack up in the same list depending on which inventory groups > a node is a member of. > > E.g: > > group_vars/chocolate includes: > > sauces: > > -name : chocolate > value: yummy > > group_vars/strawberry includes: > > sauces: > > -name : strawberry > value: more_yummy > > So that in some task I can use sauces to iterate over both? > > Using ansible 1.6.0 > > -- > 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/8e2f97b3-b127-483d-bc70-ed9421299cb7%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgxYLcBm6rYg8Jhvv7UQrzDbQZNKrSA28yi-L7mAoOi89A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
