mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Added support for ANSIBLE_VERBOSITY environment variable
Fixes 22087 Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
This commit is contained in:
committed by
Toshio Kuratomi
parent
87119479d8
commit
2f2e792cae
@@ -287,7 +287,7 @@ class CLI(with_metaclass(ABCMeta, object)):
|
||||
|
||||
# base opts
|
||||
parser = SortedOptParser(usage, version=CLI.version("%prog"))
|
||||
parser.add_option('-v','--verbose', dest='verbosity', default=0, action="count",
|
||||
parser.add_option('-v','--verbose', dest='verbosity', default=C.DEFAULT_VERBOSITY, action="count",
|
||||
help="verbose mode (-vvv for more, -vvvv to enable connection debugging)")
|
||||
|
||||
if inventory_opts:
|
||||
|
||||
Reference in New Issue
Block a user