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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.