I forgot to add that I've defined the hash_behaviour to "merge" just for this express purpose of keeping and stacking/appending variables so the normal behavior is suppose to be modified here.
On Monday, July 10, 2017 at 2:59:22 PM UTC-5, Brian Coca wrote: > > Well, when you include_vars you are normally overwriting existing > vars, this will happen in a with_ loop or outside of it, that is > normal behaviour. > > As for the error wiping out myvars ... the task failed, so none of the > work was done. The previously accumulated data in the 2 files that did > work is lost as the task ends up not importing any vars as it failed > as a whole, even if parts of it succeeded. > > ---------- > Brian Coca > -- 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/6e5f8d79-8c28-464d-b4b0-4850a8ddf711%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
