 <p>First: bare variables are not supported since Ansible 2.2<br> Second: <code>files</code> is a list in your example</p> <pre><code>- debug: msg="{{ item.files[0].path }}" with_items: "{{ foundFiles.results }}" </code></pre> <p>If you have multiple entries under in <code>files</code> list, you should consider to <code>map</code> it.</p>