1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix warning message in dense callback plugin (#83)

* fix dense callback plugin class name
* add changelogs
This commit is contained in:
Sylvain Monné 2020-04-13 15:31:57 +02:00 committed by GitHub
parent dccd998be0
commit b0b376fce2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -144,7 +144,7 @@ colors = dict(
states = ('skipped', 'ok', 'changed', 'failed', 'unreachable') 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. 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 # When using -vv or higher, simply do the default action
if display.verbosity >= 2 or not HAS_OD: if display.verbosity >= 2 or not HAS_OD:
CallbackModule = CallbackModule_default CallbackModule = CallbackModule_default
else:
CallbackModule = CallbackModule_dense