1
0
Fork 0
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:
Michael DeHaan 2013-04-05 14:42:46 -04:00
parent 3d25b4a7c0
commit 9073aa17ab

View file

@ -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: