Hi,
I have a file like : [1,2,3,4,5]
and I want to use loop for each number in this file on the playbook (I want to use the file, not write keys in the playbook).
Could you help me please ?The playbook: (and i need to loop on "variable_file")- name: Gather info about all ESXi Host in given Clustervmware_host_service_info:validate_certs: nohostname: xxxxxusername: userpassword: passwordcluster_name: "{{variable_file}}"
Thanks for your help--
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-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c4322a92-5792-48e6-9973-59cdfd03b9e7o%40googlegroups.com.