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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7dvF69HWrcLXhW7eeeEe7yubGNmV0SomdTOA3bzoJawqg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.