That's correct. You would need to do something with "with_items: $last_run"
I *think* there might be a way to address the earlier items (from
${groups.lbservers} ) within $last_run, but those nested lists keep me
confused, as the outputted items from ansible-playbook are barely readeable.
The register variable will have $last_run.changed element even if it is an array, I think the value is an OR of the 'changed. Array. So for a single node in lbservers the above code would be fine, but if more than one nodes are there in the group this would have to changed to something like this: