Hi Matt,

I would recommend using tags on any tasks that you may want to re-run
individually, that way you can limit what is re-run. You can also use the
--start-at-task option for ansible-playbook to restart your playbook at a
later part of your plays.


On Tue, Oct 21, 2014 at 12:59 PM, Matt Madrid <[email protected]> wrote:

> I'd like to run a playbook and have ansible continue on to the next task
> when a task fails. This way I get a play summary showing exactly how many
> tasks failed and how many succeeded and I can pick out specific tasks to
> re-run on specific hosts. AFAIK, the only way to do this is to use
> ignore_errors:true. But that's not what I want. ignore_errors causes
> ansible to show it as "ok" in the play summary. I actually want it to show
> failed but continue on to the next task. Am I missing something?
>
> Thanks,
>
> --
> Matt M.
>
> --
> 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/460413de-e7b8-4a03-a97d-492d6b2a4ebc%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/460413de-e7b8-4a03-a97d-492d6b2a4ebc%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/CAMFyvFi%3DeLbzhtQoJqD_RK6UQ6bj3mGEE%3DPwXFztFLc3NOcHjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to