# multiple elements from list

**URL:** <https://forum.ansible.com/t/multiple-elements-from-list/21372>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [May 6, 2016, 11:47am UTC](https://forum.ansible.com/t/multiple-elements-from-list/21372 "2016-05-06T11:47:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johannes\_Kastl](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Post date:** [May 6, 2016, 11:47am UTC](https://forum.ansible.com/t/multiple-elements-from-list/21372/1 "2016-05-06T11:47:56Z")

</div>

Just a guess:

debug: msg="{{item.stdout\_lines}}"  
with\_items: packages.results

or just output the whole:

debug: var=packages  
or  
debug: var=packages.results

What do you want to achieve?

Johannes
