mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 14:41:23 -07:00
Deprecation warnings of several flavors, nice and purple and can be disabled
in ansible.cfg.
This commit is contained in:
parent
a017a69bb3
commit
9637f620d7
6 changed files with 66 additions and 7 deletions
|
@ -421,7 +421,11 @@ class CliRunnerCallbacks(DefaultRunnerCallbacks):
|
|||
class PlaybookRunnerCallbacks(DefaultRunnerCallbacks):
|
||||
''' callbacks used for Runner() from /usr/bin/ansible-playbook '''
|
||||
|
||||
def __init__(self, stats, verbose=utils.VERBOSITY):
|
||||
def __init__(self, stats, verbose=None):
|
||||
|
||||
if verbose is None:
|
||||
verbose = utils.VERBOSITY
|
||||
|
||||
self.verbose = verbose
|
||||
self.stats = stats
|
||||
self._async_notified = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue