diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2020-06-10 14:35:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 14:35:36 +0200 |
commit | 805dff41290af657d21b00567c418c338f42e720 (patch) | |
tree | 1686d0fe6c859041b2adc2ba54586e881b2b18b2 /lib | |
parent | Validate-modules: adjust test to fixes in #69977 (#69978) (diff) | |
download | ansible-805dff41290af657d21b00567c418c338f42e720.tar.xz ansible-805dff41290af657d21b00567c418c338f42e720.zip |
fixed missing default (#69972)
* fixed missing default
also deprecated so new options wont have to go through this
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ansible/plugins/callback/default.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ansible/plugins/callback/default.py b/lib/ansible/plugins/callback/default.py index 8147cb6aa2..fae958bb10 100644 --- a/lib/ansible/plugins/callback/default.py +++ b/lib/ansible/plugins/callback/default.py @@ -43,7 +43,6 @@ from ansible.playbook.task_include import TaskInclude from ansible.plugins.callback import CallbackBase from ansible.utils.color import colorize, hostcolor - # These values use ansible.constants for historical reasons, mostly to allow # unmodified derivative plugins to work. However, newer options added to the # plugin are not also added to ansible.constants, so authors of derivative @@ -57,7 +56,8 @@ COMPAT_OPTIONS = (('display_skipped_hosts', C.DISPLAY_SKIPPED_HOSTS), ('display_ok_hosts', True), ('show_custom_stats', C.SHOW_CUSTOM_STATS), ('display_failed_stderr', False), - ('check_mode_markers', False),) + ('check_mode_markers', False), + ('show_per_host_start', False)) class CallbackModule(CallbackBase): @@ -88,6 +88,8 @@ class CallbackModule(CallbackBase): try: value = self.get_option(option) except (AttributeError, KeyError): + self._display.deprecated("'%s' is subclassing DefaultCallback without the corresponding doc_fragment." % self._load_name, + version='2.14') value = constant setattr(self, option, value) |