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

hook up --private-key to the runner

This commit is contained in:
Seth Vidal 2012-05-14 16:22:05 -04:00
parent 96ef6482c5
commit b42628d858
2 changed files with 3 additions and 1 deletions

View file

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

View file

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