Having the following list of dictionaries:
- set_fact: inventory: - dn: host1 lid: 0021-00 unit_id: 50 - dn: host2