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

verbose option is not being used, so remove it. debug variable still exists.

This commit is contained in:
Michael DeHaan 2012-04-16 23:47:41 -04:00
parent 78b5cd64d0
commit 3f26a1c7f6
6 changed files with 1 additions and 8 deletions

View file

@ -90,7 +90,7 @@ class Cli(object):
forks=options.forks, forks=options.forks,
background=options.seconds, pattern=pattern, background=options.seconds, pattern=pattern,
callbacks=self.callbacks, sudo=options.sudo, callbacks=self.callbacks, sudo=options.sudo,
sudo_pass=sudopass, verbose=True, sudo_pass=sudopass,
transport=options.connection, debug=options.debug transport=options.connection, debug=options.debug
) )
return (runner, runner.run()) return (runner, runner.run())

View file

@ -67,7 +67,6 @@ def main(args):
override_hosts=override_hosts, override_hosts=override_hosts,
forks=options.forks, forks=options.forks,
debug=options.debug, debug=options.debug,
verbose=True,
remote_user=options.remote_user, remote_user=options.remote_user,
remote_pass=sshpass, remote_pass=sshpass,
callbacks=playbook_cb, callbacks=playbook_cb,

View file

@ -60,7 +60,6 @@ class PlayBook(object):
transport = C.DEFAULT_TRANSPORT, transport = C.DEFAULT_TRANSPORT,
override_hosts = None, override_hosts = None,
debug = False, debug = False,
verbose = False,
callbacks = None, callbacks = None,
runner_callbacks = None, runner_callbacks = None,
stats = None, stats = None,
@ -95,7 +94,6 @@ class PlayBook(object):
self.remote_port = remote_port self.remote_port = remote_port
self.transport = transport self.transport = transport
self.debug = debug self.debug = debug
self.verbose = verbose
self.callbacks = callbacks self.callbacks = callbacks
self.runner_callbacks = runner_callbacks self.runner_callbacks = runner_callbacks
self.override_hosts = override_hosts self.override_hosts = override_hosts

View file

@ -86,7 +86,6 @@ class Runner(object):
transport=C.DEFAULT_TRANSPORT, transport=C.DEFAULT_TRANSPORT,
conditional='True', conditional='True',
callbacks=None, callbacks=None,
verbose=False,
debug=False, debug=False,
sudo=False, sudo=False,
module_vars=None, module_vars=None,
@ -146,7 +145,6 @@ class Runner(object):
self.module_vars = module_vars self.module_vars = module_vars
self.timeout = timeout self.timeout = timeout
self.debug = debug self.debug = debug
self.verbose = verbose
self.remote_user = remote_user self.remote_user = remote_user
self.remote_pass = remote_pass self.remote_pass = remote_pass
self.remote_port = remote_port self.remote_port = remote_port

View file

@ -136,7 +136,6 @@ class TestPlaybook(unittest.TestCase):
timeout = 5, timeout = 5,
remote_user = self.user, remote_user = self.user,
remote_pass = None, remote_pass = None,
verbose = False,
stats = ans_callbacks.AggregateStats(), stats = ans_callbacks.AggregateStats(),
callbacks = self.test_callbacks, callbacks = self.test_callbacks,
runner_callbacks = self.test_callbacks runner_callbacks = self.test_callbacks

View file

@ -29,7 +29,6 @@ class TestRunner(unittest.TestCase):
forks=1, forks=1,
background=0, background=0,
pattern='all', pattern='all',
verbose=True,
) )
self.cwd = os.getcwd() self.cwd = os.getcwd()
self.test_dir = os.path.join(self.cwd, 'test') self.test_dir = os.path.join(self.cwd, 'test')