On 05.12.2019 19:13, Jamie Addessi wrote:
The only way I've found to accomplish this is to call out to a tasks file
within the loop, and include all 3 tasks there.  But it would be nicer to
be able to do it in a single playbook.
       - name: Loop control
         include_tasks: "tasks.yml"
         loop: "{{ mylist }}"

This is the only way to do it unfortunately.


--
Kai Stian Olstad

--
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/db9dab9b-c7e6-3eb4-4432-eed0673c0e6b%40olstad.com.

Reply via email to