title: How to read CSV file data in ansible-playbook using with_lines?
body: <p>I have situation where in one csv file i have 2 columns like below</p>
  
  <pre><code>cat report.csv
  Field1,Field2,Field3
  name3,3,5
  name4,5,6
  </code></pre>
  
  <p>now i want to use the lines which are in bold.</p>
  
  <p>Each column will be an input to one of the ansible role. </p>
  
  <p>it should go like </p>
  
  <pre><code>   roles:
       - { role: arti_master, mod_name: "{{ item.name}}" , version: "{{ item.version}}"
    with_lines:
      - "cat report.csv|cut -d, -f2"
  </code></pre>