On Tue, 14 Jan 2020 06:57:06 -0800 (PST)
Karther wrote:
> Maybe 2.8.0.dev0 is not good version ? It's not same that version 2.8.0 ?
This looks suspicious. Upgrade to the latest stable version in your distro.
Probably 2.9.0 ? See "Release and maintenance"
Hello Visser,
My version is :
*ansible 2.8.0.dev0*
* config file = /etc/ansible/ansible.cfg*
* configured module search path = [u'/usr/share/ansible']*
* ansible python module location =
/usr/local/lib/python2.7/dist-packages/ansible*
* executable location = /var/ansible/bin/ansible*
*
And,
I have this problem only with module read_csv it's very strange ...
all parameters are well indented
Can you help me please ...
Best regards,
Karther
Le mardi 14 janvier 2020 15:07:11 UTC+1, Karther a écrit :
>
> Hey Vladimir,
>
> The error is :
>
> *ERROR! no action detected in task.
Hey Vladimir,
The error is :
*ERROR! no action detected in task. This often indicates a misspelled
module name, or incorrect module path.*
*The error appears to have been in
'/home/ansible/mssql_query/roles/tasks/main.yml': line 36, column 3, but
may*
*be elsewhere in the file depending on
On Tue, 14 Jan 2020 05:00:35 -0800 (PST)
Karther wrote:
> My problem is that there is problem of syntax with module read_csv:
>
> *- name: "Read users from CSV file and return a list"*
> * read_csv:*
> * path: /home/ansible/mssql_query/roles/files/csv_file.csv*
> * delimiter: ','*
> *
Hey Vladimir !! :)
Thanks for your answer,
My problem is that there is problem of syntax with module read_csv:
My task is :
*- name: "Read users from CSV file and return a list"*
* read_csv:*
* path: /home/ansible/mssql_query/roles/files/csv_file.csv*
* delimiter: ','*
* register:
On Mon, 13 Jan 2020 08:10:14 -0800 (PST)
Karther wrote:
> filename,state,note,temps
> file1,0,my fisrt note,52
> file2,0,my second note,34
> file3,0,my thirst note,71
>
> ... my goal is that create all file sucessively (file1, file2,
> file3, ...)
You might be better off with the 'read_csv'
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=,')