|
|
|
@ -65,8 +65,7 @@ class ActionModule(_ActionModule):
|
|
|
|
host=pc.remote_addr,
|
|
|
|
host=pc.remote_addr,
|
|
|
|
port=pc.port,
|
|
|
|
port=pc.port,
|
|
|
|
username=pc.remote_user,
|
|
|
|
username=pc.remote_user,
|
|
|
|
password=pc.password,
|
|
|
|
password=pc.password
|
|
|
|
ssh_keyfile=pc.private_key_file
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
display.vvv('using connection plugin %s' % pc.connection, pc.remote_addr)
|
|
|
|
display.vvv('using connection plugin %s' % pc.connection, pc.remote_addr)
|
|
|
|
connection = self._shared_loader_obj.connection_loader.get('persistent', pc, sys.stdin)
|
|
|
|
connection = self._shared_loader_obj.connection_loader.get('persistent', pc, sys.stdin)
|
|
|
|
@ -91,6 +90,7 @@ class ActionModule(_ActionModule):
|
|
|
|
|
|
|
|
|
|
|
|
# make sure a transport value is set in args
|
|
|
|
# make sure a transport value is set in args
|
|
|
|
self._task.args['transport'] = transport
|
|
|
|
self._task.args['transport'] = transport
|
|
|
|
|
|
|
|
self._task.args['provider'] = provider
|
|
|
|
|
|
|
|
|
|
|
|
result = super(ActionModule, self).run(tmp, task_vars)
|
|
|
|
result = super(ActionModule, self).run(tmp, task_vars)
|
|
|
|
return result
|
|
|
|
return result
|
|
|
|
|