mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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):
|
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…
Reference in a new issue