Include Vars, with_items , returned data with .results values

19 views
Skip to first unread message

Adam McGill

unread,
May 7, 2020, 12:00:31 PM5/7/20
to Ansible Project
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


Reply all
Reply to author
Forward
0 new messages