Commit 9073aa17 by Michael DeHaan

Chroot also needs args/kwargs.

parent 3d25b4a7
...@@ -30,7 +30,7 @@ from ansible.callbacks import vvv ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment