Search a list of Dicts using a list of items and find if the item exists under the attribute 'value'. Store only the Items NOT found as a new list
Solution 1:
Q: "New list only contains the item which was not found '4.4.4.4'."
A: For example
- debug:
msg: "{{ sources|difference(_values) }}"
vars:
_values: "{{ objects|map(attribute='value')|list }}"
gives
msg:
- 4.4.4.4