Hy all,
I have a file called “file1.csv”, the contents of this file is:
word1 word2 word3 word4
I want him to jump in line with every word, i want this result :
word1
word2
word3
word4
I use this task for test but she replace every space by \n :
{{ lookup(‘file’ , ‘/home/my_user/file1.csv’) | replace(’ ’ , ‘\n’) }}
Someone have an idea please ??!!
Thank you very much guy !!