# Include Vars, with\_items , returned data with .results values

**URL:** <https://forum.ansible.com/t/include-vars-with-items-returned-data-with-results-values/32877>\
**Category:** Ansible Project\
**Created:** [May 7, 2020, 4:00pm UTC](https://forum.ansible.com/t/include-vars-with-items-returned-data-with-results-values/32877 "2020-05-07T16:00:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_McGill](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@Adam\_McGill](https://forum.ansible.com/u/Adam_McGill)\
**Post date:** [May 7, 2020, 4:00pm UTC](https://forum.ansible.com/t/include-vars-with-items-returned-data-with-results-values/32877/1 "2020-05-07T16:00:31Z")

</div>

I am using a include\_vars file to pipe the variable to a libary/ps1/py file which will return results / verification. Is there a way to not include the item data /ansible loop information in the .results data. As I figured the .results data should only include the data I pipe back from the libary/ps1/py file results. So with this example below if i sent over the installmedia\_source/values , set the attrib in the PS1 file and returned it and displayed .results it still includes the .item info. Unless anyone can suggest a better way to pass a include\_vars values over to the ps1 file/task.

 ![case-ansible forums.png](https://us1.discourse-cdn.com/ansible/original/2X/5/5d64f2d7981f3b969ffb6dbd0712a76b711ff39f.png)
