How to combine two lists?
Solution 1:
You need to use a union
.
Off the top of my head:
all_settings="{{ foo|map(attribute='settings')|union(bar|map(attribute='settings')) }}"
You need to use a union
.
Off the top of my head:
all_settings="{{ foo|map(attribute='settings')|union(bar|map(attribute='settings')) }}"