diff --git a/changelogs/fragments/64628-dense-callback-warning.yml b/changelogs/fragments/64628-dense-callback-warning.yml new file mode 100644 index 00000000000..8d0d7c7a6dc --- /dev/null +++ b/changelogs/fragments/64628-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/lib/ansible/plugins/callback/dense.py b/lib/ansible/plugins/callback/dense.py index c2901f803e8..4c9f616efb6 100644 --- a/lib/ansible/plugins/callback/dense.py +++ b/lib/ansible/plugins/callback/dense.py @@ -145,7 +145,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. @@ -498,5 +498,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