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:
parent
dccd998be0
commit
b0b376fce2
2 changed files with 3 additions and 3 deletions
2
changelogs/fragments/83-dense-callback-warning.yml
Normal file
2
changelogs/fragments/83-dense-callback-warning.yml
Normal 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).
|
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue