title: How parse a list of dictionary and out the values in Ansible?
body: <p>I've the following json output. It is a list of dictionary. I just want to parse it and output its value.</p>
  
  <p>I've tried the following play but without success...</p>
  
  <pre><code>"output1": {
      "changed": false, 
      "msg": "All items completed", 
      "results": [
          {
              "item": [
                  {
                      "Device_Name": "SW1"
                  }, 
                  {
                      "Interface": "GigabitEthernet1/0/7"
                  }
                      ]
           }
      ]
  }
  </code></pre>
  
  <pre><code>    - name: Display output1...2
        debug:
          msg: "{{ item.1.Device_Name }};{{ item.1.Interface }}"
        with_subelements: 
          - "{{ output1.results }}"
          - item
  </code></pre>
  
  <p>The error was ""msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'int_name'\n\n"</p>