Actually the yum module output is more consistent with what you would expect registering a var using with_items. Both modules use a special optimization in which they slurp the whole list instead of executing it one at a time.
Also I think you are comparing outputs on different operations. In any case a quick workaround is to add .split() to the yum output to get the same output as stdout_lines. -- 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/CAJ5XC8k4d6X0AZtGN_GLj15iJ0q3LNJbG0MbshDSq-t3%3D5ov1A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
