mirror of https://github.com/jumpserver/jumpserver
fix: Mysql has set a gateway, and the command execution failed.
parent
cde182c015
commit
f82f31876a
|
|
@ -90,7 +90,7 @@ class JMSPermedInventory(JMSInventory):
|
|||
host['login_db'] = asset.spec_info.get('db_name', '')
|
||||
host['ansible_python_interpreter'] = sys.executable
|
||||
if gateway:
|
||||
host['gateway'] = {
|
||||
host['jms_gateway'] = {
|
||||
'address': gateway.address, 'port': gateway.port,
|
||||
'username': gateway.username, 'secret': gateway.password,
|
||||
'private_key_path': gateway.private_key_path
|
||||
|
|
|
|||
Loading…
Reference in New Issue