How to convert an Ansible list to a list of dictionaries adding the same key:value per item
So I have a list of AWS Instance IDs:
Convert a list of dictionaries to a dictionary of dictionaries or another list of dictionaries
I think I can do this with set_fact
but somehow my mind is stuck.
Filtering list of dicts and add new key:value from the loop item to all dicts in list
I’m trying to prepare a list of dicts with all needed data received from JSON file. I already parsed the file and it looks good but I still need to: