fix ce.py provider param issue (#27876)
* Update ce.py * Update ce.py fix CloudEngine host failed #27903
This commit is contained in:
parent
d307dee4db
commit
50dc1f09ad
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue