I'm falling back to the six tasks for now (three stat file, three include when exists).
In my mind this is a bug; the "ignore_errors" setting should let it keep the partial result. The parallel being that the file module could partially succeed in setting a file owner but SELinux or other methods could deny the setting of the file group. But I'll agree to disagree with you on that point. :-) I could see the addition of the "hash_behavior" as an argument to "include_vars" and let it have the option of "keep_partial" as an extension of merge (replace, merge, merge_partial). On Monday, July 10, 2017 at 3:39:29 PM UTC-5, Brian Coca wrote: > > The merge setting will affect the result of the task, but not the > internal iterator of the task. > > You might want to make this 3 tasks or use vars_files. > > > -- > ---------- > 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/f586a8e2-1cab-48eb-a3ac-4f919b315979%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
