From b42628d85830d87d7af5cbc0f97b5a44ff8b0254 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Mon, 14 May 2012 16:22:05 -0400 Subject: [PATCH] hook up --private-key to the runner --- bin/ansible | 1 + bin/ansible-playbook | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/ansible b/bin/ansible index 0f5c668eb84..d4f57442420 100755 --- a/bin/ansible +++ b/bin/ansible @@ -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, diff --git a/bin/ansible-playbook b/bin/ansible-playbook index da22164c753..31f45d4235c 100755 --- a/bin/ansible-playbook +++ b/bin/ansible-playbook @@ -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: