Thanks very much, Kai.  This does help my understanding.  I was trying to 
use default() after the b.stdout to generate the JSON (i.e., have default 
generate '{ "a": "[]" }') and wasn't having any luck because of all the 
nested quotes.  I still consider it counterintuitive that Ansible evaluates 
with_items: even if when: skips it, but no use arguing here.

Thanks again for your help.  Appreciate it.

Rob

-- 
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/ae6388be-5e90-4a4e-8102-d3886f8c0902%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to