The list that I obtain from my python script contains user data, and an inner list of choices they made. The structure of my list is like such: [[name, age, address, fav_car, fav_color, fav_movie, [choice1, choice2, choice2]], [name, age, address, fav_car, fav_color, fav_movie, [choice1, choice2, choice2]]]
Every week, my script runs one time and returns the list with however many users took the survey. It may be one user, or more, depending on how many users took the survey that week.
What I want to do now is call an ansible playbook from within my python script that makes use of the e-mail module and sends an e-mail to me with this list data in a table, with however many users were in the list that week.