From 9073aa17ab88117a346c40abd3d124eb1ef9bb4c Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 5 Apr 2013 14:42:46 -0400 Subject: [PATCH] Chroot also needs args/kwargs. --- lib/ansible/runner/connection_plugins/chroot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/connection_plugins/chroot.py b/lib/ansible/runner/connection_plugins/chroot.py index 3f06b176f81..14b3c06f7f8 100644 --- a/lib/ansible/runner/connection_plugins/chroot.py +++ b/lib/ansible/runner/connection_plugins/chroot.py @@ -30,7 +30,7 @@ from ansible.callbacks import vvv class Connection(object): ''' Local chroot based connections ''' - def __init__(self, runner, host, port, **kwargs): + def __init__(self, runner, host, port, *args, **kwargs): self.chroot = host if os.geteuid() != 0: