From e3ccf2d792378707744940287ac4ab75a0b61a6d Mon Sep 17 00:00:00 2001 From: Guillaume Chauvel Date: Wed, 10 Jun 2020 12:02:47 +0200 Subject: [PATCH] zuul_unreachable: Fix ansible callback exception When enabling ansible verbose output, there are a lot of exeception because the key "show_per_host_start" is not defined This patch adds the fix suggested by https://github.com/ansible/ansible/issues/69954#issuecomment-641504849 Change-Id: Ib74340aaddec7561402a8dc073549aecfd611215 --- zuul/ansible/base/callback/zuul_unreachable.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zuul/ansible/base/callback/zuul_unreachable.py b/zuul/ansible/base/callback/zuul_unreachable.py index 8c7b85f430..ba63bc62c3 100644 --- a/zuul/ansible/base/callback/zuul_unreachable.py +++ b/zuul/ansible/base/callback/zuul_unreachable.py @@ -19,6 +19,16 @@ # so just put in the __future__ statement. from __future__ import absolute_import +DOCUMENTATION = ''' + callback: zuul_unreachable + short_description: Zuul Unreachable + description: + - Zuul Unreachable + type: aggregate + extends_documentation_fragment: + - default_callback +''' + import os from ansible.plugins.callback import default