- block:
- name: ensure backup directory exists
win_file:
path: "{{ BACKUP }}"
state: directory
recurse: yes
- include_tasks: increment_backup.yml
with_items: "{{ filelist.stdout_lines }}"
when: work_status.stat.exists
I just want these items be dealt with concurrently. For example, there are 10 items within filelist.stdout_lines. What I wanna do is these 10 items can be processed parallel. It's not task level. It's within one single task. But I didn't find any clues from Ansible documents.
Does anybody know about this?