How to run PLAY LOOP command on the basis of a value in CSV column

Hi,
would you please be able to help on this?