diff --git a/changelogs/fragments/83-dense-callback-warning.yml b/changelogs/fragments/83-dense-callback-warning.yml new file mode 100644 index 0000000000..1d7993f9a3 --- /dev/null +++ b/changelogs/fragments/83-dense-callback-warning.yml @@ -0,0 +1,2 @@ +bugfixes: + - dense callback - fix plugin access to its configuration variables and remove a warning message (https://github.com/ansible/ansible/issues/64628). diff --git a/plugins/callback/dense.py b/plugins/callback/dense.py index 39693ae823..bec6227911 100644 --- a/plugins/callback/dense.py +++ b/plugins/callback/dense.py @@ -144,7 +144,7 @@ colors = dict( states = ('skipped', 'ok', 'changed', 'failed', 'unreachable') -class CallbackModule_dense(CallbackModule_default): +class CallbackModule(CallbackModule_default): ''' This is the dense callback interface, where screen estate is still valued. @@ -497,5 +497,3 @@ class CallbackModule_dense(CallbackModule_default): # When using -vv or higher, simply do the default action if display.verbosity >= 2 or not HAS_OD: CallbackModule = CallbackModule_default -else: - CallbackModule = CallbackModule_dense