On Mon, 30 Mar 2015 22:07 -0700, Larry Fast <[email protected]> wrote: > I have a diagnostic task that dumps the Ansible dictionaries at the end > of > a run. However if the hosts fail the Playbook stops and my task doesn't > get > executed. But of course that's when it's most important. How can I > arrange > that this task always runs after everything else?
You can have a handler for that and start ansible with '--force-handlers'. v2 is coming with try/except/finally [1] [1] - http://www.slideshare.net/jimi-c/whats-new-in-v2-ansiblefest-london-2015/10 Giovanni -- 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/1427806373.614262.247526585.471A0BC0%40webmail.messagingengine.com. For more options, visit https://groups.google.com/d/optout.
