Hy all,

I have a problem; 

I have this file clef_applicatives.csv:

3,rebesz,my_host,appli_1
10,reeesz,my_host2,appli_2

This task must return indice "3" or "10",  when this task return 3 works 
perfectly but when i must return 10, i have indice = "1", "0" so i want to 
get "10"

- set_fact:
    indice: "{{ indice|default([])|union(item.split(',')[0]|list) }}"
  with_lines: cat /home/ansible/ssh_manager/clef_applicatives.csv
  delegate_to: localhost


Someone have idea please community ansible ??!!!

Regards,

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6a39e553-024f-4cc5-a8c3-d2c97e0c5fba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to