mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
perf: update applet download and deployment
This commit is contained in:
@@ -129,7 +129,7 @@ class Asset(DictObj):
|
||||
address: str
|
||||
protocols: list[Protocol]
|
||||
category: Category
|
||||
specific: Specific
|
||||
spec_info: Specific
|
||||
|
||||
def get_protocol_port(self, protocol):
|
||||
for item in self.protocols:
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import abc
|
||||
import subprocess
|
||||
import base64
|
||||
import json
|
||||
import locale
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
import os
|
||||
import json
|
||||
import base64
|
||||
from subprocess import CREATE_NO_WINDOW
|
||||
|
||||
_blockInput = None
|
||||
@@ -125,7 +125,7 @@ class Asset(DictObj):
|
||||
address: str
|
||||
protocols: list[Protocol]
|
||||
category: Category
|
||||
specific: Specific
|
||||
spec_info: Specific
|
||||
|
||||
def get_protocol_port(self, protocol):
|
||||
for item in self.protocols:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
RDS_fSingleSessionPerUser: 1
|
||||
RDS_MaxDisconnectionTime: 60000
|
||||
RDS_RemoteAppLogoffTimeLimit: 0
|
||||
TinkerInstaller: Tinker_Installer_v0.0.1.exe
|
||||
TinkerInstaller: Tinker_Installer.exe
|
||||
|
||||
tasks:
|
||||
- name: Install RDS-Licensing (RDS)
|
||||
@@ -151,6 +151,18 @@
|
||||
state: present
|
||||
arguments:
|
||||
- /quiet
|
||||
-
|
||||
- name: Download navicat161_premium_en package (navicat)
|
||||
ansible.windows.win_get_url:
|
||||
url: "{{ APPLET_DOWNLOAD_HOST }}/download/applets/navicat161_premium_en_x64.exe"
|
||||
dest: "{{ ansible_env.TEMP }}\\navicat161_premium_en_x64.exe"
|
||||
|
||||
- name: Install navicat (navicat)
|
||||
ansible.windows.win_package:
|
||||
path: "{{ ansible_env.TEMP }}\\navicat161_premium_en_x64.exe"
|
||||
state: present
|
||||
arguments:
|
||||
- /SILENT
|
||||
|
||||
- name: Generate tinkerd component config
|
||||
ansible.windows.win_shell:
|
||||
|
||||
Reference in New Issue
Block a user