Hi Team

i have an array from my previous playbook and saving it as a fact called as
"ansible_facts"{
   "response_cloud_id": [
   "34eedfc",
   "6733fdc"
  ]
},

I want to use this response_cloud_id for each object as a variable and
pass into my URI module in the URL
https://cloudzone.net/api/{{ response_cloud_id }}/zone
how can I assign every element in the array to the URL loop through the
array in the URL and make multiple calls till the array length is met?

Please help,

thanks
Reehan


-- 
Mohammed Rehan

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJOW%3Dx9%2B-LgbE0cE9yxhLg71S6ZH%3D_d3Wn8r2Mx7TxVYdsdc_g%40mail.gmail.com.

Reply via email to