Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list_of_dicts:
- config:
- key1: value1
- key2: value2
- set_facts:
- list_of_dicts: {{ list_of_dicts | default({}) | combine (item.key: item.value) }}
- with_dict: "{{ list_of_dicts }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement