Subject: [ansible-project] Create file who is in my csv file


Hey all !! :)

I have csv file with this content :

filename,state,note,temps
file1,0,my fisrt note,52
file2,0,my second note,34
file3,0,my thirst note,71

i have this task :

- set_fact:
        csvfile: "{{ lookup('csvfile',
'file=/home/ansible/mssql_query/roles/files/csv_file.csv delimiter=,') }}"

but not works, my goal is that create all file sucessively (file1, file2,
file3, ...) in some repertory

Someone have any idea please ?

Thanks very much community ansible !! ;)

Regards,

Karther
--