can't isolate stdout using register, with_items

I am attempting to display the debug output of multiple items from a previous resource(including as complete an example as possible; not using roles for this):

`

I believe that this is because with_items will always show you the item being used for the task, as well as the output of the task using that item. That’s why you see both the item and msg fields in the JSON. Not sure how to tell Ansible to NOT output the item part of a with_items task.

In your with_items, you could always set_fact with just the stdout, and then loop again over just those facts.