The --start-at-task argument will allow you to choose the task to start at.
Alternatively, tags would also achieve what you're looking for if you tagged the tasks or plays you want to run. http://docs.ansible.com/playbooks_tags.html On Friday, February 28, 2014, linbo liao <[email protected]> wrote: > Hi, > > Here I try to use ansible to deploy some apps, it has multi steps, for > examples > > roles: > - common > - nginxny > - ... > - ... > - app > - ... > > if deploy failed at app steps, retry will go through all steps from > beginning. Any idea to retry started at app steps, since all steps before > app are succeed. > > Thanks, > Linbo > > > -- > 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]<javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');> > . > To post to this group, send email to > [email protected]<javascript:_e(%7B%7D,'cvml','[email protected]');> > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/c9dc3e67-917c-4e42-b340-677e9cfe1a1a%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/c9dc3e67-917c-4e42-b340-677e9cfe1a1a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CAK6JQEHuKbPmbhAp1aEP-9Zj5HoY44V3Mn7AW-DkNJCpzHKAPQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
