Chroot also needs args/kwargs.
This commit is contained in:
parent
3d25b4a7c0
commit
9073aa17ab
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue