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
This commit is contained in:
Guillaume Chauvel 2020-06-10 12:02:47 +02:00
parent f6e4d30ea1
commit e3ccf2d792

View File

@ -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