updated logic
diff --git a/tasks/main.yml b/tasks/main.yml index 5e66432..5470d59 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -23,9 +23,8 @@ msg: "Count Files Matched: {{ item.matched }}" with_items: "{{ downloads.results }}" -- name: Include echo.yml - import: echo.yml +- name: Iterate over files found + include_tasks: ./download_files.yml vars: download_set: "{{ item }}" - with_nested: - - downloads.results + with_nested: downloads.results \ No newline at end of file