Hi Danny,

Did you come across this post 
- https://groups.google.com/d/msg/ansible-project/E1ETAVoG6d0/6vC0PGCpAwAJ ?


> Right now looping over includes is doable by doing a *with_ *statement. 
What I trying to achieve right now would look like:
>
>- include: run-in-loop.yml
>  with_sequence: start=0 end=<+INFINITE>
>  loop_control:
>    loop_var: main_item


You would need to break execution in the included playbook if you detect 
that updates are done using - http://stackoverflow.com/a/22760829

Regards,
Jinesh


On Thursday, 12 January 2017 09:28:05 UTC, Danny Rehelis wrote:
>
> Hi Matt,
>
> Dag's solution was something I really hoped to work but then I found this 
> post by Brian Coca - 
> https://groups.google.com/forum/#!topic/ansible-project/xGGe6WADtH0
>
> Seems like this is not possible because "Include is not a module, more 
> like a preprocessing macro."
>
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/754a8bfe-77a2-4470-95ec-54ec4f195bd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to