skip to Main Content

Json – Ansible loop with array

Could someone let me know how we can create a code as below? - name: TEST1 set_fact: list_a: "{{ list_a + [item.json.SearchResult.resources] }}" with_items: - "{{ source_list.results[0] }}" - "{{ source_list.results[1] }}" - "{{ source_list.results[x] }}" ... (unknown how many…

VIEW QUESTION
Back To Top
Search