Hii What you describe is nonstandard behaviour. Instead of guessing, please show us your playbook and any other relevant code.
Sent from Gmail Mobile On Thu, 7 Sep 2023 at 01:47, Ashok Reddy <[email protected]> wrote: > Hi Brian > > Noted and Thanks for your response. > But, when we tried to download packages, the package is not available and > then the task fails . > > The next tasks also executed and It does not come out of the script. > > In that case, I have written a task to verify whether file exists or not > and then any_fail_on_error: true . > > Is it correct? > > On Wed, 6 Sep 2023 at 10:34 PM, Brian Coca <[email protected]> wrote: > >> This is the default behavior, if task #1 fails, subsequent tasks will >> not run for that host. In the previous response they point you on how >> to continue on error, the implication being the default is to stop on >> error. >> >> -- >> ---------- >> Brian Coca >> >> -- >> 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/CACVha7dCxr%2BEWrqv-ZeQVELa6M7J6ZamBwZxTkOFdcKrP2-RdA%40mail.gmail.com >> . >> > -- > 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/CAKRLcHh_iZibHBzqUyyYp4zWv%2BDM%3DWr6yz0gQWOiO2HuhMWx0w%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAKRLcHh_iZibHBzqUyyYp4zWv%2BDM%3DWr6yz0gQWOiO2HuhMWx0w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAF8BbLaTX_vsMtxFmxisc5DdW89gQ17uG7iwXTOYcy7JmwUGNQ%40mail.gmail.com.
