hook up --private-key to the runner

pull/603/head
Seth Vidal 13 years ago
parent 96ef6482c5
commit b42628d858

@ -91,6 +91,7 @@ class Cli(object):
module_args=options.module_args, module_args=options.module_args,
remote_user=options.remote_user, remote_pass=sshpass, remote_user=options.remote_user, remote_pass=sshpass,
inventory=inventory_manager, timeout=options.timeout, inventory=inventory_manager, timeout=options.timeout,
private_key_file=options.private_key_file,
forks=options.forks, forks=options.forks,
pattern=pattern, pattern=pattern,
callbacks=self.callbacks, sudo=options.sudo, callbacks=self.callbacks, sudo=options.sudo,

@ -77,7 +77,8 @@ def main(args):
sudo=options.sudo, sudo=options.sudo,
sudo_user=options.sudo_user, sudo_user=options.sudo_user,
sudo_pass=sudopass, sudo_pass=sudopass,
extra_vars=extra_vars extra_vars=extra_vars,
private_key_file=options.private_key_file
) )
try: try:

Loading…
Cancel
Save