How to convert a csv file

Hi Everyone,

I have created a playbook which reads a csv file and converts it into variables then executes the task. My playbook is actually fine – and gives me what I expect to see, but I want to make my csv file format into simpler –something like this:

“command”,“savefile”
“command”,“savefile”
“command”,“savefile”
“command”,“savefile”

My current csv file is like this: