as aforementioned - blocks: always feature in 2.0 seems to suffice my requirement.
thanks. On Sunday, April 10, 2016 at 3:52:10 AM UTC+10, Johannes Kastl wrote: > > On 08.04.16 06:32 G Joe wrote: > > > I'm looking for a way to always run a task at the end of script, even > if > > tasks before that were failed. Is there any option such as always_run > > etc. > > I am not an expert, but IMHO this would mean setting "ignore_errors: > true" on all tasks before the one that should always run... > > Johannes > > -- 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/2097dee2-3ded-4e08-93f2-615797d8dc42%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
