{%  for inventory_item in r_get_inv_list.json.results %}
{%    if inventory_item.name == __inventory %}
{
  "name" : "{{ inventory_item.name }}",
  "id"   : "{{ inventory_item.id }}",
}
{%    endif %}
{%  endfor %}

