mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-15 14:47:24 +00:00
fix: Mysql has set a gateway, and the command execution failed.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user