1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix ce.py provider param issue (#27876)

* Update ce.py

* Update ce.py

fix CloudEngine host failed #27903
This commit is contained in:
QijunPan 2017-12-09 21:33:31 +08:00 committed by Ganesh Nalawade
parent d307dee4db
commit 50dc1f09ad

View file

@ -65,8 +65,7 @@ class ActionModule(_ActionModule):
host=pc.remote_addr,
port=pc.port,
username=pc.remote_user,
password=pc.password,
ssh_keyfile=pc.private_key_file
password=pc.password
)
display.vvv('using connection plugin %s' % pc.connection, pc.remote_addr)
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
self._task.args['transport'] = transport
self._task.args['provider'] = provider
result = super(ActionModule, self).run(tmp, task_vars)
return result