Chroot also needs args/kwargs.

pull/2503/merge
Michael DeHaan 12 years ago
parent 3d25b4a7c0
commit 9073aa17ab

@ -30,7 +30,7 @@ from ansible.callbacks import vvv
class Connection(object): class Connection(object):
''' Local chroot based connections ''' ''' Local chroot based connections '''
def __init__(self, runner, host, port, **kwargs): def __init__(self, runner, host, port, *args, **kwargs):
self.chroot = host self.chroot = host
if os.geteuid() != 0: if os.geteuid() != 0:

Loading…
Cancel
Save