title: How to access value from YAML key/value pair list item?
body: <p>If I have the following YAML list item (I think that's what it's called) which is expressed as a key/value pair, how do I read the value?  I've been looking through the YAML documentation and didn't see this situation discussed.</p>
  
  <pre><code>---
  apache_vhosts:
    - servername: localhost
      documentroot: "/var/www/html"
  </code></pre>
  
  <p>I want to do something like this and set install_path to "/var/www/html":</p>
  
  <pre><code>...
  # This doesn't work
  install_path: "{{ apache_vhosts.servername[documentroot] }}"
  </code></pre>