That's odd, the task should fail unless you're specifying other failed_when
conditions or retries. Could you share an example of the task you're
executing?


On Thu, Jun 5, 2014 at 11:04 AM, Dario <[email protected]> wrote:

> Hello,
>
> I have a loop that loops over a result from program execution. On every
> iteration a shell command is executed. However, it may happen that one of
> these shell commands fails. Is possible to prevent continuing the loop if
> this happens? From what I can see, other iterations are executed even
> though one of them failed.
>
> Thanks.
>
> --
> 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/bb6290e3-7d90-4fea-8a81-2852c7d1aef8%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/bb6290e3-7d90-4fea-8a81-2852c7d1aef8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMFyvFgNrH2h_1QOwQ7hVrmG-PN1m8vKuVcsO%2BEG8%3DE%3Dmfzk8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to