How about the csv lookup plugin? http://docs.ansible.com/ansible/playbooks_lookups.html#the-csv-file-lookup
You can write content to a file by registering a variable and then using the content argument with the copy module. Hope this helps, Jon On Monday, April 25, 2016 at 3:22:17 PM UTC+1, mondher khas wrote: > > hello , i need to read some value from a .CSV file with ; separator > for example : param1;value1 > param2;value2 > i want to write them in a file using ansible like this : param1=value1 > > param2=value2 > > thank you in advance . > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b131563f-9fc3-4bf7-864b-0206cfca6055%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.