I don't wish to defend the horrid things that Google Groups does to pasted text, particularly where whitespace matters.
However, photos of text is about useless. For example, there's no practical way to run a linter on pictures of text. It's impossible to say with certainty that a task in a clipped photo is correct. You've been working with these tasks now for almost a week. Is there any behavior you see that makes you think they don't do what you expect? If so, then copy-and-past (not screenshots!) the evidence from the run log, include the relevant tasks, data, etc., and explain what you expect contrasted with what is actually happening. Otherwise, yes, it is correct! (?) On Sunday, September 10, 2023 at 11:51:00 PM UTC-4 Ashok Reddy wrote: > Hi All, > > Can you please help? > > On Fri, 8 Sep 2023 at 2:48 PM, Ashok Reddy <ashok...@gmail.com> wrote: > >> >> Hi , >> >> The following script, which only skip the task and execute further: >> >> >> But, What I did : If the file doesn’t exist, it cannot proceed to execute >> tasks and cone out ofcthe script: >> >> Is it correct? >> >> Can someone help me with this? >> On Thu, 7 Sep 2023 at 7:47 AM, Ashok Reddy <ashok...@gmail.com> 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 <bc...@redhat.com> 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 ansible-proje...@googlegroups.com. >>>> 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 ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/666bd6ce-5af0-43b7-bede-6e1e22035a02n%40googlegroups.com.