verbose option is not being used, so remove it. debug variable still exists.
This commit is contained in:
parent
78b5cd64d0
commit
3f26a1c7f6
6 changed files with 1 additions and 8 deletions
|
@ -90,7 +90,7 @@ class Cli(object):
|
|||
forks=options.forks,
|
||||
background=options.seconds, pattern=pattern,
|
||||
callbacks=self.callbacks, sudo=options.sudo,
|
||||
sudo_pass=sudopass, verbose=True,
|
||||
sudo_pass=sudopass,
|
||||
transport=options.connection, debug=options.debug
|
||||
)
|
||||
return (runner, runner.run())
|
||||
|
|
|
@ -67,7 +67,6 @@ def main(args):
|
|||
override_hosts=override_hosts,
|
||||
forks=options.forks,
|
||||
debug=options.debug,
|
||||
verbose=True,
|
||||
remote_user=options.remote_user,
|
||||
remote_pass=sshpass,
|
||||
callbacks=playbook_cb,
|
||||
|
|
|
@ -60,7 +60,6 @@ class PlayBook(object):
|
|||
transport = C.DEFAULT_TRANSPORT,
|
||||
override_hosts = None,
|
||||
debug = False,
|
||||
verbose = False,
|
||||
callbacks = None,
|
||||
runner_callbacks = None,
|
||||
stats = None,
|
||||
|
@ -95,7 +94,6 @@ class PlayBook(object):
|
|||
self.remote_port = remote_port
|
||||
self.transport = transport
|
||||
self.debug = debug
|
||||
self.verbose = verbose
|
||||
self.callbacks = callbacks
|
||||
self.runner_callbacks = runner_callbacks
|
||||
self.override_hosts = override_hosts
|
||||
|
|
|
@ -86,7 +86,6 @@ class Runner(object):
|
|||
transport=C.DEFAULT_TRANSPORT,
|
||||
conditional='True',
|
||||
callbacks=None,
|
||||
verbose=False,
|
||||
debug=False,
|
||||
sudo=False,
|
||||
module_vars=None,
|
||||
|
@ -146,7 +145,6 @@ class Runner(object):
|
|||
self.module_vars = module_vars
|
||||
self.timeout = timeout
|
||||
self.debug = debug
|
||||
self.verbose = verbose
|
||||
self.remote_user = remote_user
|
||||
self.remote_pass = remote_pass
|
||||
self.remote_port = remote_port
|
||||
|
|
|
@ -136,7 +136,6 @@ class TestPlaybook(unittest.TestCase):
|
|||
timeout = 5,
|
||||
remote_user = self.user,
|
||||
remote_pass = None,
|
||||
verbose = False,
|
||||
stats = ans_callbacks.AggregateStats(),
|
||||
callbacks = self.test_callbacks,
|
||||
runner_callbacks = self.test_callbacks
|
||||
|
|
|
@ -29,7 +29,6 @@ class TestRunner(unittest.TestCase):
|
|||
forks=1,
|
||||
background=0,
|
||||
pattern='all',
|
||||
verbose=True,
|
||||
)
|
||||
self.cwd = os.getcwd()
|
||||
self.test_dir = os.path.join(self.cwd, 'test')
|
||||
|
|
Loading…
Reference in a new issue