Iterating through list of dictionaries within a dictionary – Jinja2 and Ansible
Iterating through list of dictionaries within a dictionary – Jinja2 and Ansible Question: I am trying to extract the "host" and "port" value from the following JSON output with Jinja2: "net_neighbors": { "Ethernet0/0": [ { "host": "Switch", "platform": "Linux Unix", "port": "Ethernet0/2" } ], "Ethernet0/1": [ { "host": "DAL-R", "platform": "Linux Unix", "port": "Ethernet0/1" } …