title: Ansible Get dict value from key
body: <p>I have two files, one with 2 dict and another playbook that use those dict.</p>
  
  <p>Vars file:</p>
  
  <p><code>data: {path: ~/prod/iac/playbook/test.conf, conf: test2}
  vagrant: {path: ~/prod/iac/playbook/test.conf/test2.conf, conf: test4}</code></p>
  
  <p>and the playbook: </p>
  
  <p><code>---
  - hosts: localhost
    tasks:
      - name: Include var for nginx config
        include_vars:
          file: ~/prod/iac/playbook/vars.yml
          name: conf_vars
      - name: overide doc configuration
        shell: echo  "{{ item[path] }}" &gt; test.conf
        with_items: " {{ conf_vars }}"</code></p>
  
  <p>My vars is correctly loaded but i can't get the dict value... 
  Any idea ? </p>